Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214313 > unrolled thread
| Started by | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| First post | 2015-08-27 06:20 +0200 |
| Last post | 2015-08-27 06:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
Allocating sys_membarrier syscall number on other archs Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-08-27 06:20 +0200
Re: Allocating sys_membarrier syscall number on other archs Andrew Morton <akpm@linux-foundation.org> - 2015-08-27 06:20 +0200
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-08-27 06:20 +0200 |
| Subject | Allocating sys_membarrier syscall number on other archs |
| Message-ID | <q1WPo-1MV-11@gated-at.bofh.it> |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Date | 2015-08-27 06:20 +0200 |
| Message-ID | <q1WPo-1MV-13@gated-at.bofh.it> |
| In reply to | #1214313 |
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 ;) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web