Messages in this thread | | | Date | Sun, 16 Jan 2011 23:06:14 +0000 | From | Al Viro <> | Subject | Re: [git pull] vfs pile 2 (automount work) |
| |
On Sun, Jan 16, 2011 at 09:44:26PM +0000, Al Viro wrote:
> Already fixed. Actually, taking it out of ifdef would work (the only > place that actually cares about the value of that sucker is SMP side > of mntput()), but we are obviously better off just not touching it on > UP at all - why do pointless work and waste space? > > See the patch upthread. ->mnt_longterm is SMP-only optimization of > mntput(); it's there only to free the common case of mntput() from > cacheline bouncing and on UP it's needed at all.
PS: the patch does survive UP beating. Could you pull git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus ? There's only one patch at the moment:
Al Viro (1): mnt_longterm is there only on SMP
fs/namespace.c | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-)
| |