<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/ipc/util.h, branch v2.6.16.44</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.44</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.44'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-01-15T01:43:54Z</updated>
<entry>
<title>correct email address of Manfred Spraul</title>
<updated>2006-01-15T01:43:54Z</updated>
<author>
<name>Christian Kujau</name>
<email>evil@g-house.de</email>
</author>
<published>2006-01-15T01:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=624dffcbcf87b9c501b13256416a82487be962bc'/>
<id>urn:sha1:624dffcbcf87b9c501b13256416a82487be962bc</id>
<content type='text'>
I  tried to send the forcedeth maintainer an email, but it came back with:

"The mail address manfreds@colorfullife.com is not read anymore.
Please resent your mail to manfred@ instead of manfreds@."

This patch fixes this.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] ipc: add generic struct ipc_ids seq_file iteration</title>
<updated>2005-09-07T23:57:25Z</updated>
<author>
<name>Mike Waychison</name>
<email>mikew@google.com</email>
</author>
<published>2005-09-06T22:17:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ae7817745eef3b4ed3c2e36cb403e0c50f17d4e4'/>
<id>urn:sha1:ae7817745eef3b4ed3c2e36cb403e0c50f17d4e4</id>
<content type='text'>
The following two patches convert /proc/sysvipc/* to use seq_file.

This gives us the following:

 - Self-consistent IPC records in proc.
 - O(n) reading of the files themselves.

This patch:

Add a generic method for ipc types to be displayed using seq_file.  This
patch abstracts out seq_file iterating over struct ipc_ids into ipc/util.c

Signed-off-by: Mike Waychison &lt;mikew@google.com&gt;
Cc: Manfred Spraul &lt;manfred@colorfullife.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] xtensa: remove old syscalls</title>
<updated>2005-07-12T23:01:01Z</updated>
<author>
<name>Chris Zankel</name>
<email>czankel@tensilica.com</email>
</author>
<published>2005-07-12T20:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=813e6783647489a8481d256944b7fd75ff79e035'/>
<id>urn:sha1:813e6783647489a8481d256944b7fd75ff79e035</id>
<content type='text'>
This patch fixes some minor bugs introduced by the previous patch (remove
old syscalls).  Both patches remove the obsolete syscalls.  The changes in
this patch were suggested by Arnd Bergmann.  The vmlinux.lds.S changes are
required for the latest gcc/binutils.

Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] RCU: eliminating explicit memory barriers from SysV IPC</title>
<updated>2004-10-28T01:28:37Z</updated>
<author>
<name>Paul E. McKenney</name>
<email>paulmck@us.ibm.com</email>
</author>
<published>2004-10-28T01:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3f9fabe7e676a768b70c662f334f3b290ed0907e'/>
<id>urn:sha1:3f9fabe7e676a768b70c662f334f3b290ed0907e</id>
<content type='text'>
This patch uses the rcu_assign_pointer() API to eliminate a number of explicit
memory barriers from the SysV IPC code that uses RCU.  It also restructures
the ipc_ids structure so that the array size is stored in the same memory
block as the array itself (see the new struct ipc_id_ary).  This prevents the
race that the earlier code was subject to, where a reader could see a mismatch
between the size and the actual array.  With the size stored with the array,
the possibility of mismatch is eliminated -- with out the need for careful
ordering and explicit memory barriers.  This has been tested successfully on
i386 and ppc64.

Signed-off-by: &lt;paulmck@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ipc: Add refcount to ipc_rcu_alloc</title>
<updated>2004-08-23T05:40:37Z</updated>
<author>
<name>Manfred Spraul</name>
<email>manfred@colorfullife.com</email>
</author>
<published>2004-08-23T05:40:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3a4262a016085f178811ec2459b93f63127e6280'/>
<id>urn:sha1:3a4262a016085f178811ec2459b93f63127e6280</id>
<content type='text'>
The lifetime of the ipc objects (sem array, msg queue, shm mapping) is
controlled by kern_ipc_perms-&gt;lock - a spinlock.  There is no simple way to
reacquire this spinlock after it was dropped to
schedule()/kmalloc/copy_{to,from}_user/whatever.

The attached patch adds a reference count as a preparation to get rid of
sem_revalidate().

Signed-Off-By: Manfred Spraul &lt;manfred@colorfullife.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] sparse: ipc __user annotation</title>
<updated>2004-05-29T04:12:47Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@www.linux.org.uk</email>
</author>
<published>2004-05-29T04:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=79f21235ec35e69cff70c5b6914ee020b4e01831'/>
<id>urn:sha1:79f21235ec35e69cff70c5b6914ee020b4e01831</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] posix message queues: code move</title>
<updated>2004-04-12T05:53:50Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-04-12T05:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c334f752d8e9d3847d4459d06f7544dea9a49923'/>
<id>urn:sha1:c334f752d8e9d3847d4459d06f7544dea9a49923</id>
<content type='text'>
From: Manfred Spraul &lt;manfred@colorfullife.com&gt;

cleanup of sysv ipc as a preparation for posix message queues:

- replace !CONFIG_SYSVIPC wrappers for copy_semundo and exit_sem with
  static inline wrappers.  Now the whole ipc/util.c file is only used if
  CONFIG_SYSVIPC is set, use makefile magic instead of #ifdef.

- remove the prototypes for copy_semundo and exit_sem from kernel/fork.c

- they belong into a header file.

- create a new msgutil.c with the helper functions for message queues.

- cleanup the helper functions: run Lindent, add __user tags.
</content>
</entry>
<entry>
<title>[PATCH] PA-RISC needs IPC64 structs</title>
<updated>2004-02-06T11:44:47Z</updated>
<author>
<name>Matthew Wilcox</name>
<email>willy@debian.org</email>
</author>
<published>2004-02-06T11:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1941d9bcab411cfee706feb1552d7998a984d186'/>
<id>urn:sha1:1941d9bcab411cfee706feb1552d7998a984d186</id>
<content type='text'>
PA-RISC also uses the 64-bit version of the IPC structs.
</content>
</entry>
<entry>
<title>[PATCH] Fix IPC ABI for AMD64</title>
<updated>2003-07-01T09:35:22Z</updated>
<author>
<name>Andi Kleen</name>
<email>ak@suse.de</email>
</author>
<published>2003-07-01T09:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d55e45edb3ffb76f12fc2b77b1a3b7db49b411cf'/>
<id>urn:sha1:d55e45edb3ffb76f12fc2b77b1a3b7db49b411cf</id>
<content type='text'>
AMD64 like IA64 needs to force IPC_64 in the IPC functions. This makes
2.5 compatible with 2.4 again.
</content>
</entry>
<entry>
<title>[PATCH] uninlining in ipc/*</title>
<updated>2002-10-31T12:10:03Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@digeo.com</email>
</author>
<published>2002-10-31T12:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8f2215c6a1d2120850959e48dd9933fc7b4e5547'/>
<id>urn:sha1:8f2215c6a1d2120850959e48dd9933fc7b4e5547</id>
<content type='text'>
Uninlines some large functions in the ipc code.

Before:
   text    data     bss     dec     hex filename
  30226     224     192   30642    77b2 ipc/built-in.o

After:
   text    data     bss     dec     hex filename
  20274     224     192   20690    50d2 ipc/built-in.o
</content>
</entry>
</feed>
