erm/user-namespace - net-next.git - net-next plumbings</title>
<meta name='generator' content='cgit v1.2.3-54-g00ecf'/>
<meta name='robots' content='noindex, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit.css'/>
<script type='text/javascript' src='/cgit.js'></script>
<link rel='shortcut icon' href='http://distanz.ch/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/include/uapi/asm-generic/shmbuf.h?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
<link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='19ca2c8fecb1592d623fe5e82d6796f8d446268d'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/shmbuf.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/shmbuf.h'>
<input type='hidden' name='id' value='19ca2c8fecb1592d623fe5e82d6796f8d446268d'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>asm-generic</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>shmbuf.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='19ca2c8fecb1592d623fe5e82d6796f8d446268d'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</td><td class='right'>2017-01-24 12:21:51 -0800</td></tr>
<tr><th>committer</th><td>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</td><td class='right'>2017-01-24 12:21:51 -0800</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>19ca2c8fecb1592d623fe5e82d6796f8d446268d</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>0756e115d125846f46b302085307768f069434a1</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>include/uapi/asm-generic/shmbuf.h</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/shmbuf.h?id=a4685d2f58e2230d4e27fb2ee581d7ea35e5d046'>a4685d2f58e2230d4e27fb2ee581d7ea35e5d046</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d&amp;id2=a4685d2f58e2230d4e27fb2ee581d7ea35e5d046'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/shmbuf.h?id=880a38547ff08715ce4f1daf9a4bb30c87676e68'>880a38547ff08715ce4f1daf9a4bb30c87676e68</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/shmbuf.h?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d&amp;id2=880a38547ff08715ce4f1daf9a4bb30c87676e68'>diff</a>)</td></tr></table>
<div class='commit-subject'>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace</div><div class='commit-msg'>Pull namespace fix from Eric Biederman:
 "This has a single brown bag fix.

  The possible deadlock with dec_pid_namespaces that I had thought was
  fixed earlier turned out only to have been moved. So instead of being
  cleaver this change takes ucounts_lock with irqs disabled. So
  dec_ucount can be used from any context without fear of deadlock.

  The items accounted for dec_ucount and inc_ucount are all
  comparatively heavy weight objects so I don't exepct this will have
  any measurable performance impact"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  userns: Make ucounts lock irq-safe
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=19ca2c8fecb1592d623fe5e82d6796f8d446268d'>Diffstat</a> (limited to 'include/uapi/asm-generic/shmbuf.h')</div><table summary='diffstat' class='diffstat'>