[LTP] [PATCH v3] syscalls/membarrier: Add membarrier() initial test
    Rafael David Tinoco 
    rafael.tinoco@linaro.org
       
    Mon Oct  8 02:11:50 CEST 2018
    
    
  
On 10/7/18 9:08 PM, Rafael David Tinoco wrote:
> Fixes: #265
> 
> Initial test for membarrier() syscall. It tests all existing membarrier
> "commands" (or features), including the need (or not) for previous
> registration for the call to work.
> 
> Some features did not exist in older kernels and that is covered by
> skipping some calls, flagging test as skipped & okay, and forcing
> others, making sure that return codes and errno are set right in those
> cases.
> 
> Tests are done in a child process due to inexistent kernel interface to
> "unregister" the process from being affected by membarrier() call.
> 
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
v3 is just a rebase fixing include/lapi/syscalls/i386.in position.
Thank you
-
Rafael
    
    
More information about the ltp
mailing list