<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/net/9p/protocol.c, branch linux-3.6.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>9p: fix min_t() casting in p9pdu_vwritef()</title>
<updated>2012-06-27T22:26:24+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-06-26T23:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d31bb4f0621756528d11d310c44cd8076b22bc03'/>
<id>d31bb4f0621756528d11d310c44cd8076b22bc03</id>
<content type='text'>
I don't think we're actually likely to hit this limit but if we do
then the comparison should be done as size_t.  The original code
is equivalent to:
        len = strlen(sptr) % USHRT_MAX;

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't think we're actually likely to hit this limit but if we do
then the comparison should be done as size_t.  The original code
is equivalent to:
        len = strlen(sptr) % USHRT_MAX;

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>9p: Reduce object size with CONFIG_NET_9P_DEBUG</title>
<updated>2012-01-05T16:51:44+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-11-28T18:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5d3851530d6d68564e4e0ce04d0547d4d106fc72'/>
<id>5d3851530d6d68564e4e0ce04d0547d4d106fc72</id>
<content type='text'>
Reduce object size by deduplicating formats.

Use vsprintf extension %pV.
Rename P9_DPRINTK uses to p9_debug, align arguments.
Add function for _p9_debug and macro to add __func__.
Add missing "\n"s to p9_debug uses.
Remove embedded function names as p9_debug adds it.
Remove P9_EPRINTK macro and convert use to pr_&lt;level&gt;.
Add and use pr_fmt and pr_&lt;level&gt;.

$ size fs/9p/built-in.o*
   text	   data	    bss	    dec	    hex	filename
  62133	    984	  16000	  79117	  1350d	fs/9p/built-in.o.new
  67342	    984	  16928	  85254	  14d06	fs/9p/built-in.o.old
$ size net/9p/built-in.o*
   text	   data	    bss	    dec	    hex	filename
  88792	   4148	  22024	 114964	  1c114	net/9p/built-in.o.new
  94072	   4148	  23232	 121452	  1da6c	net/9p/built-in.o.old

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce object size by deduplicating formats.

Use vsprintf extension %pV.
Rename P9_DPRINTK uses to p9_debug, align arguments.
Add function for _p9_debug and macro to add __func__.
Add missing "\n"s to p9_debug uses.
Remove embedded function names as p9_debug adds it.
Remove P9_EPRINTK macro and convert use to pr_&lt;level&gt;.
Add and use pr_fmt and pr_&lt;level&gt;.

$ size fs/9p/built-in.o*
   text	   data	    bss	    dec	    hex	filename
  62133	    984	  16000	  79117	  1350d	fs/9p/built-in.o.new
  67342	    984	  16928	  85254	  14d06	fs/9p/built-in.o.old
$ size net/9p/built-in.o*
   text	   data	    bss	    dec	    hex	filename
  88792	   4148	  22024	 114964	  1c114	net/9p/built-in.o.new
  94072	   4148	  23232	 121452	  1da6c	net/9p/built-in.o.old

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/9p: Convert net/9p protocol dumps to tracepoints</title>
<updated>2011-10-24T16:13:12+00:00</updated>
<author>
<name>Aneesh Kumar K.V</name>
<email>aneesh.kumar@linux.vnet.ibm.com</email>
</author>
<published>2011-08-06T19:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=348b59012e5c6402741d067cf6eeeb6271999d06'/>
<id>348b59012e5c6402741d067cf6eeeb6271999d06</id>
<content type='text'>
This helps in more control over debugging.
root@qemu-img-64:~# ls /pass/123
ls: cannot access /pass/123: No such file or directory
root@qemu-img-64:~# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
#           TASK-PID    CPU#    TIMESTAMP  FUNCTION
#              | |       |          |         |
              ls-1536  [001]    70.928584: 9p_protocol_dump: clnt 18446612132784021504 P9_TWALK(tag = 1)
000: 16 00 00 00 6e 01 00 01 00 00 00 02 00 00 00 01
010: 00 03 00 31 32 33 00 00 00 ff ff ff ff 00 00 00

              ls-1536  [001]    70.928587: &lt;stack trace&gt;
 =&gt; trace_9p_protocol_dump
 =&gt; p9pdu_finalize
 =&gt; p9_client_rpc
 =&gt; p9_client_walk
 =&gt; v9fs_vfs_lookup
 =&gt; d_alloc_and_lookup
 =&gt; walk_component
 =&gt; path_lookupat
              ls-1536  [000]    70.929696: 9p_protocol_dump: clnt 18446612132784021504 P9_RLERROR(tag = 1)
000: 0b 00 00 00 07 01 00 02 00 00 00 4e 03 00 02 00
010: 00 00 00 00 03 00 02 00 00 00 00 00 ff 43 00 00

              ls-1536  [000]    70.929697: &lt;stack trace&gt;
 =&gt; trace_9p_protocol_dump
 =&gt; p9_client_rpc
 =&gt; p9_client_walk
 =&gt; v9fs_vfs_lookup
 =&gt; d_alloc_and_lookup
 =&gt; walk_component
 =&gt; path_lookupat
 =&gt; do_path_lookup

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps in more control over debugging.
root@qemu-img-64:~# ls /pass/123
ls: cannot access /pass/123: No such file or directory
root@qemu-img-64:~# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
#           TASK-PID    CPU#    TIMESTAMP  FUNCTION
#              | |       |          |         |
              ls-1536  [001]    70.928584: 9p_protocol_dump: clnt 18446612132784021504 P9_TWALK(tag = 1)
000: 16 00 00 00 6e 01 00 01 00 00 00 02 00 00 00 01
010: 00 03 00 31 32 33 00 00 00 ff ff ff ff 00 00 00

              ls-1536  [001]    70.928587: &lt;stack trace&gt;
 =&gt; trace_9p_protocol_dump
 =&gt; p9pdu_finalize
 =&gt; p9_client_rpc
 =&gt; p9_client_walk
 =&gt; v9fs_vfs_lookup
 =&gt; d_alloc_and_lookup
 =&gt; walk_component
 =&gt; path_lookupat
              ls-1536  [000]    70.929696: 9p_protocol_dump: clnt 18446612132784021504 P9_RLERROR(tag = 1)
000: 0b 00 00 00 07 01 00 02 00 00 00 4e 03 00 02 00
010: 00 00 00 00 03 00 02 00 00 00 00 00 ff 43 00 00

              ls-1536  [000]    70.929697: &lt;stack trace&gt;
 =&gt; trace_9p_protocol_dump
 =&gt; p9_client_rpc
 =&gt; p9_client_walk
 =&gt; v9fs_vfs_lookup
 =&gt; d_alloc_and_lookup
 =&gt; walk_component
 =&gt; path_lookupat
 =&gt; do_path_lookup

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs/9p: Update zero-copy implementation in 9p</title>
<updated>2011-10-24T16:13:11+00:00</updated>
<author>
<name>Aneesh Kumar K.V</name>
<email>aneesh.kumar@linux.vnet.ibm.com</email>
</author>
<published>2011-08-16T05:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=abfa034e4b8ed0046fa589769e9840af645bc4ba'/>
<id>abfa034e4b8ed0046fa589769e9840af645bc4ba</id>
<content type='text'>
* remove lot of update to different data structure
* add a seperate callback for zero copy request.
* above makes non zero copy code path simpler
* remove conditionalizing TREAD/TREADDIR/TWRITE in the zero copy path
* Fix the dotu p9_check_errors with zero copy. Add sufficient doc around
* Add support for both in and output buffers in zero copy callback
* pin and unpin pages in the same context
* use helpers instead of defining page offset and rest of page ourself
* Fix mem leak in p9_check_errors
* Remove 'E' and 'F' in p9pdu_vwritef

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* remove lot of update to different data structure
* add a seperate callback for zero copy request.
* above makes non zero copy code path simpler
* remove conditionalizing TREAD/TREADDIR/TWRITE in the zero copy path
* Fix the dotu p9_check_errors with zero copy. Add sufficient doc around
* Add support for both in and output buffers in zero copy callback
* pin and unpin pages in the same context
* use helpers instead of defining page offset and rest of page ourself
* Fix mem leak in p9_check_errors
* Remove 'E' and 'F' in p9pdu_vwritef

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>9p: clean up packet dump code</title>
<updated>2011-07-23T14:32:47+00:00</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@gmail.com</email>
</author>
<published>2011-06-19T21:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e660a828f017991468ce322742586e8ebb047ae6'/>
<id>e660a828f017991468ce322742586e8ebb047ae6</id>
<content type='text'>
Switch to generic kernel hexdump library and cleanup macros to
be more consistent with the way we do normal debug prints.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch to generic kernel hexdump library and cleanup macros to
be more consistent with the way we do normal debug prints.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/9p/protocol.c: Fix a memory leak</title>
<updated>2011-05-12T22:05:37+00:00</updated>
<author>
<name>Pedro Scarapicchia Junior</name>
<email>pedrinho.rep51@gmail.com</email>
</author>
<published>2011-05-09T14:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1b0bcbcf62884959fa7214eb16c44cff445691c6'/>
<id>1b0bcbcf62884959fa7214eb16c44cff445691c6</id>
<content type='text'>
When p9pdu_readf() is called with "s" attribute, it allocates a pointer that
will store a string. In p9dirent_read(), this pointer is not being released,
leading to out of memory errors.
This patch releases this pointer after string is copyed to dirent-&gt;d_name.

Signed-off-by: Pedro Scarapicchia Junior &lt;pedro.scarapiccha@br.flextronics.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When p9pdu_readf() is called with "s" attribute, it allocates a pointer that
will store a string. In p9dirent_read(), this pointer is not being released,
leading to out of memory errors.
This patch releases this pointer after string is copyed to dirent-&gt;d_name.

Signed-off-by: Pedro Scarapicchia Junior &lt;pedro.scarapiccha@br.flextronics.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/9p: nwname should be an unsigned int</title>
<updated>2011-04-15T20:26:15+00:00</updated>
<author>
<name>Harsh Prateek Bora</name>
<email>harsh@linux.vnet.ibm.com</email>
</author>
<published>2011-03-31T10:19:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b76225e22ac98070325ee2ba89473c1e1360c4cb'/>
<id>b76225e22ac98070325ee2ba89473c1e1360c4cb</id>
<content type='text'>
Signed-off-by: Harsh Prateek Bora &lt;harsh@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric VAn Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Harsh Prateek Bora &lt;harsh@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric VAn Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>9p: Fix sparse error</title>
<updated>2011-04-15T20:26:14+00:00</updated>
<author>
<name>Aneesh Kumar K.V</name>
<email>aneesh.kumar@linux.vnet.ibm.com</email>
</author>
<published>2011-03-24T17:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=bd8c8ade6b6f109bc3dce14a8d12013f27f2a590'/>
<id>bd8c8ade6b6f109bc3dce14a8d12013f27f2a590</id>
<content type='text'>
Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/9p: Convert the in the 9p rpc call path to GFP_NOFS</title>
<updated>2011-03-22T20:43:35+00:00</updated>
<author>
<name>Aneesh Kumar K.V</name>
<email>aneesh.kumar@linux.vnet.ibm.com</email>
</author>
<published>2011-03-08T11:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=eeff66ef6e33925f615d49e6c846263e342ab60e'/>
<id>eeff66ef6e33925f615d49e6c846263e342ab60e</id>
<content type='text'>
Without this we can cause reclaim allocation in writepage.

[ 3433.448430] =================================
[ 3433.449117] [ INFO: inconsistent lock state ]
[ 3433.449117] 2.6.38-rc5+ #84
[ 3433.449117] ---------------------------------
[ 3433.449117] inconsistent {RECLAIM_FS-ON-W} -&gt; {IN-RECLAIM_FS-R} usage.
[ 3433.449117] kswapd0/505 [HC0[0]:SC0[0]:HE1:SE1] takes:
[ 3433.449117]  (iprune_sem){+++++-}, at: [&lt;ffffffff810ebbab&gt;] shrink_icache_memory+0x45/0x2b1
[ 3433.449117] {RECLAIM_FS-ON-W} state was registered at:
[ 3433.449117]   [&lt;ffffffff8107fe5f&gt;] mark_held_locks+0x52/0x70
[ 3433.449117]   [&lt;ffffffff8107ff02&gt;] lockdep_trace_alloc+0x85/0x9f
[ 3433.449117]   [&lt;ffffffff810d353d&gt;] slab_pre_alloc_hook+0x18/0x3c
[ 3433.449117]   [&lt;ffffffff810d3fd5&gt;] kmem_cache_alloc+0x23/0xa2
[ 3433.449117]   [&lt;ffffffff8127be77&gt;] idr_pre_get+0x2d/0x6f
[ 3433.449117]   [&lt;ffffffff815434eb&gt;] p9_idpool_get+0x30/0xae
[ 3433.449117]   [&lt;ffffffff81540123&gt;] p9_client_rpc+0xd7/0x9b0
[ 3433.449117]   [&lt;ffffffff815427b0&gt;] p9_client_clunk+0x88/0xdb
[ 3433.449117]   [&lt;ffffffff811d56e5&gt;] v9fs_evict_inode+0x3c/0x48
[ 3433.449117]   [&lt;ffffffff810eb511&gt;] evict+0x1f/0x87
[ 3433.449117]   [&lt;ffffffff810eb5c0&gt;] dispose_list+0x47/0xe3
[ 3433.449117]   [&lt;ffffffff810eb8da&gt;] evict_inodes+0x138/0x14f
[ 3433.449117]   [&lt;ffffffff810d90e2&gt;] generic_shutdown_super+0x57/0xe8
[ 3433.449117]   [&lt;ffffffff810d91e8&gt;] kill_anon_super+0x11/0x50
[ 3433.449117]   [&lt;ffffffff811d4951&gt;] v9fs_kill_super+0x49/0xab
[ 3433.449117]   [&lt;ffffffff810d926e&gt;] deactivate_locked_super+0x21/0x46
[ 3433.449117]   [&lt;ffffffff810d9e84&gt;] deactivate_super+0x40/0x44
[ 3433.449117]   [&lt;ffffffff810ef848&gt;] mntput_no_expire+0x100/0x109
[ 3433.449117]   [&lt;ffffffff810f0aeb&gt;] sys_umount+0x2f1/0x31c
[ 3433.449117]   [&lt;ffffffff8102c87b&gt;] system_call_fastpath+0x16/0x1b
[ 3433.449117] irq event stamp: 192941
[ 3433.449117] hardirqs last  enabled at (192941): [&lt;ffffffff81568dcf&gt;] _raw_spin_unlock_irq+0x2b/0x30
[ 3433.449117] hardirqs last disabled at (192940): [&lt;ffffffff810b5f97&gt;] shrink_inactive_list+0x290/0x2f5
[ 3433.449117] softirqs last  enabled at (188470): [&lt;ffffffff8105fd65&gt;] __do_softirq+0x133/0x152
[ 3433.449117] softirqs last disabled at (188455): [&lt;ffffffff8102d7cc&gt;] call_softirq+0x1c/0x28
[ 3433.449117]
[ 3433.449117] other info that might help us debug this:
[ 3433.449117] 1 lock held by kswapd0/505:
[ 3433.449117]  #0:  (shrinker_rwsem){++++..}, at: [&lt;ffffffff810b52e2&gt;] shrink_slab+0x38/0x15f
[ 3433.449117]
[ 3433.449117] stack backtrace:
[ 3433.449117] Pid: 505, comm: kswapd0 Not tainted 2.6.38-rc5+ #84
[ 3433.449117] Call Trace:
[ 3433.449117]  [&lt;ffffffff8107fbce&gt;] ? valid_state+0x17e/0x191
[ 3433.449117]  [&lt;ffffffff81036896&gt;] ? save_stack_trace+0x28/0x45
[ 3433.449117]  [&lt;ffffffff81080426&gt;] ? check_usage_forwards+0x0/0x87
[ 3433.449117]  [&lt;ffffffff8107fcf4&gt;] ? mark_lock+0x113/0x22c
[ 3433.449117]  [&lt;ffffffff8108105f&gt;] ? __lock_acquire+0x37a/0xcf7
[ 3433.449117]  [&lt;ffffffff8107fc0e&gt;] ? mark_lock+0x2d/0x22c
[ 3433.449117]  [&lt;ffffffff81081077&gt;] ? __lock_acquire+0x392/0xcf7
[ 3433.449117]  [&lt;ffffffff810b14d2&gt;] ? determine_dirtyable_memory+0x15/0x28
[ 3433.449117]  [&lt;ffffffff81081a33&gt;] ? lock_acquire+0x57/0x6d
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff81567d85&gt;] ? down_read+0x47/0x5c
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff810b5385&gt;] ? shrink_slab+0xdb/0x15f
[ 3433.449117]  [&lt;ffffffff810b69bc&gt;] ? kswapd+0x574/0x96a
[ 3433.449117]  [&lt;ffffffff810b6448&gt;] ? kswapd+0x0/0x96a
[ 3433.449117]  [&lt;ffffffff810714e2&gt;] ? kthread+0x7d/0x85
[ 3433.449117]  [&lt;ffffffff8102d6d4&gt;] ? kernel_thread_helper+0x4/0x10
[ 3433.449117]  [&lt;ffffffff81569200&gt;] ? restore_args+0x0/0x30
[ 3433.449117]  [&lt;ffffffff81071465&gt;] ? kthread+0x0/0x85
[ 3433.449117]  [&lt;ffffffff8102d6d0&gt;] ? kernel_thread_helper+0x0/0x10

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this we can cause reclaim allocation in writepage.

[ 3433.448430] =================================
[ 3433.449117] [ INFO: inconsistent lock state ]
[ 3433.449117] 2.6.38-rc5+ #84
[ 3433.449117] ---------------------------------
[ 3433.449117] inconsistent {RECLAIM_FS-ON-W} -&gt; {IN-RECLAIM_FS-R} usage.
[ 3433.449117] kswapd0/505 [HC0[0]:SC0[0]:HE1:SE1] takes:
[ 3433.449117]  (iprune_sem){+++++-}, at: [&lt;ffffffff810ebbab&gt;] shrink_icache_memory+0x45/0x2b1
[ 3433.449117] {RECLAIM_FS-ON-W} state was registered at:
[ 3433.449117]   [&lt;ffffffff8107fe5f&gt;] mark_held_locks+0x52/0x70
[ 3433.449117]   [&lt;ffffffff8107ff02&gt;] lockdep_trace_alloc+0x85/0x9f
[ 3433.449117]   [&lt;ffffffff810d353d&gt;] slab_pre_alloc_hook+0x18/0x3c
[ 3433.449117]   [&lt;ffffffff810d3fd5&gt;] kmem_cache_alloc+0x23/0xa2
[ 3433.449117]   [&lt;ffffffff8127be77&gt;] idr_pre_get+0x2d/0x6f
[ 3433.449117]   [&lt;ffffffff815434eb&gt;] p9_idpool_get+0x30/0xae
[ 3433.449117]   [&lt;ffffffff81540123&gt;] p9_client_rpc+0xd7/0x9b0
[ 3433.449117]   [&lt;ffffffff815427b0&gt;] p9_client_clunk+0x88/0xdb
[ 3433.449117]   [&lt;ffffffff811d56e5&gt;] v9fs_evict_inode+0x3c/0x48
[ 3433.449117]   [&lt;ffffffff810eb511&gt;] evict+0x1f/0x87
[ 3433.449117]   [&lt;ffffffff810eb5c0&gt;] dispose_list+0x47/0xe3
[ 3433.449117]   [&lt;ffffffff810eb8da&gt;] evict_inodes+0x138/0x14f
[ 3433.449117]   [&lt;ffffffff810d90e2&gt;] generic_shutdown_super+0x57/0xe8
[ 3433.449117]   [&lt;ffffffff810d91e8&gt;] kill_anon_super+0x11/0x50
[ 3433.449117]   [&lt;ffffffff811d4951&gt;] v9fs_kill_super+0x49/0xab
[ 3433.449117]   [&lt;ffffffff810d926e&gt;] deactivate_locked_super+0x21/0x46
[ 3433.449117]   [&lt;ffffffff810d9e84&gt;] deactivate_super+0x40/0x44
[ 3433.449117]   [&lt;ffffffff810ef848&gt;] mntput_no_expire+0x100/0x109
[ 3433.449117]   [&lt;ffffffff810f0aeb&gt;] sys_umount+0x2f1/0x31c
[ 3433.449117]   [&lt;ffffffff8102c87b&gt;] system_call_fastpath+0x16/0x1b
[ 3433.449117] irq event stamp: 192941
[ 3433.449117] hardirqs last  enabled at (192941): [&lt;ffffffff81568dcf&gt;] _raw_spin_unlock_irq+0x2b/0x30
[ 3433.449117] hardirqs last disabled at (192940): [&lt;ffffffff810b5f97&gt;] shrink_inactive_list+0x290/0x2f5
[ 3433.449117] softirqs last  enabled at (188470): [&lt;ffffffff8105fd65&gt;] __do_softirq+0x133/0x152
[ 3433.449117] softirqs last disabled at (188455): [&lt;ffffffff8102d7cc&gt;] call_softirq+0x1c/0x28
[ 3433.449117]
[ 3433.449117] other info that might help us debug this:
[ 3433.449117] 1 lock held by kswapd0/505:
[ 3433.449117]  #0:  (shrinker_rwsem){++++..}, at: [&lt;ffffffff810b52e2&gt;] shrink_slab+0x38/0x15f
[ 3433.449117]
[ 3433.449117] stack backtrace:
[ 3433.449117] Pid: 505, comm: kswapd0 Not tainted 2.6.38-rc5+ #84
[ 3433.449117] Call Trace:
[ 3433.449117]  [&lt;ffffffff8107fbce&gt;] ? valid_state+0x17e/0x191
[ 3433.449117]  [&lt;ffffffff81036896&gt;] ? save_stack_trace+0x28/0x45
[ 3433.449117]  [&lt;ffffffff81080426&gt;] ? check_usage_forwards+0x0/0x87
[ 3433.449117]  [&lt;ffffffff8107fcf4&gt;] ? mark_lock+0x113/0x22c
[ 3433.449117]  [&lt;ffffffff8108105f&gt;] ? __lock_acquire+0x37a/0xcf7
[ 3433.449117]  [&lt;ffffffff8107fc0e&gt;] ? mark_lock+0x2d/0x22c
[ 3433.449117]  [&lt;ffffffff81081077&gt;] ? __lock_acquire+0x392/0xcf7
[ 3433.449117]  [&lt;ffffffff810b14d2&gt;] ? determine_dirtyable_memory+0x15/0x28
[ 3433.449117]  [&lt;ffffffff81081a33&gt;] ? lock_acquire+0x57/0x6d
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff81567d85&gt;] ? down_read+0x47/0x5c
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff810ebbab&gt;] ? shrink_icache_memory+0x45/0x2b1
[ 3433.449117]  [&lt;ffffffff810b5385&gt;] ? shrink_slab+0xdb/0x15f
[ 3433.449117]  [&lt;ffffffff810b69bc&gt;] ? kswapd+0x574/0x96a
[ 3433.449117]  [&lt;ffffffff810b6448&gt;] ? kswapd+0x0/0x96a
[ 3433.449117]  [&lt;ffffffff810714e2&gt;] ? kthread+0x7d/0x85
[ 3433.449117]  [&lt;ffffffff8102d6d4&gt;] ? kernel_thread_helper+0x4/0x10
[ 3433.449117]  [&lt;ffffffff81569200&gt;] ? restore_args+0x0/0x30
[ 3433.449117]  [&lt;ffffffff81071465&gt;] ? kthread+0x0/0x85
[ 3433.449117]  [&lt;ffffffff8102d6d0&gt;] ? kernel_thread_helper+0x0/0x10

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[net/9p] readdir zerocopy changes for 9P2000.L protocol.</title>
<updated>2011-03-15T14:57:35+00:00</updated>
<author>
<name>Venkateswararao Jujjuri (JV)</name>
<email>jvrao@linux.vnet.ibm.com</email>
</author>
<published>2011-02-17T02:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2c66523fd290edeea26cbe8cedd0af167d0f7e5f'/>
<id>2c66523fd290edeea26cbe8cedd0af167d0f7e5f</id>
<content type='text'>
Modify p9_client_readdir() to check the transport preference and act according
If the preference is P9_TRANS_PREF_PAYLOAD_SEP, send the payload
separately instead of putting it directly on PDU.

Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify p9_client_readdir() to check the transport preference and act according
If the preference is P9_TRANS_PREF_PAYLOAD_SEP, send the payload
separately instead of putting it directly on PDU.

Signed-off-by: Venkateswararao Jujjuri &lt;jvrao@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
