jdinan / xpmem-old

Automatically exported from code.google.com/p/xpmem
GNU General Public License v2.0
0 stars 0 forks source link

oops when using XPMEM with threads #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Run xpmem-th-server, then on another terminal run xpmem-th-client with
the two parameters given by the server --> oops

$ ./xpmem-th-server
Server parameters: 8589958440 16384

$ ./xpmem-th-client  8589958440 16384

The problem seems to be that xpmem_fault_handler is entered by both
threads at the same time. The first remap_pfn_range succeds, but the
second, which is called with the same parameters fails.

Original issue reported on code.google.com by fzs...@gmail.com on 14 Jun 2012 at 8:29

Attachments: