public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Allocating sys_membarrier syscall number on other archs
@ 2015-08-27  4:04 Mathieu Desnoyers
  2015-08-27  4:15 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2015-08-27  4:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML, linux-api

Hi Andrew,

The sys_membarrier patches you have in your tree target
x86 32-64 and generic, but I did not allocate the system call
number on other architectures to minimize the amount of
collisions, and because I do not have all those architectures
handy.

How would you recommend to proceed to allocate those ?

sys_membarrier is pretty much architecture agnostic: it
takes two integer parameters, and the only function it calls,
synchronize_sched(), is available on all architectures.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Allocating sys_membarrier syscall number on other archs
  2015-08-27  4:04 Allocating sys_membarrier syscall number on other archs Mathieu Desnoyers
@ 2015-08-27  4:15 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2015-08-27  4:15 UTC (permalink / raw)
  To: Mathieu Desnoyers; +Cc: LKML, linux-api

On Thu, 27 Aug 2015 04:04:42 +0000 (UTC) Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:

> Hi Andrew,
> 
> The sys_membarrier patches you have in your tree target
> x86 32-64 and generic, but I did not allocate the system call
> number on other architectures to minimize the amount of
> collisions, and because I do not have all those architectures
> handy.
> 
> How would you recommend to proceed to allocate those ?
> 

I don't think you need to do anything.  You've provided the selftest
code for the arch maintainers and the arch maintainers will get
"membarrier not implemented" warnings each time they build a kernel. 
The idea is that when they have time they'll wire it up, run the tests
then ship it.

If you want to help that process along a bit you could send patches to
the arch maintainers along with instructions on how to test the
syscall.  The less work they have to do, the more likely they are
to do it ;)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-27  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27  4:04 Allocating sys_membarrier syscall number on other archs Mathieu Desnoyers
2015-08-27  4:15 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox