Re: [PATCH v3 2/3] Call the filesystem back whenever a page is removed from the page cache

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Wednesday, December 1, 2010 - 8:34 pm

On Wed, 1 Dec 2010, Trond Myklebust wrote:

I think Linus recommended that one be done in remove_from_page_cache()
to catch all instances: did that get overruled later for some reason?


I took his "stop_machine()" explanation ("an idle period for everything.
And just a preemption reschedule isn't enough for that") to imply that
there's no need for your preempt_disable/preempt_enable there: they
don't add anything to the module unload case, and they don't help the
spin_unlock_irq issue (and you're already being rightly careful to note
freepage in advance).

But maybe I misunderstood.

Hugh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/3] NFS: lock the readdir page while it is in use, Trond Myklebust, (Tue Nov 30, 8:47 pm)
[PATCH 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Tue Nov 30, 8:47 pm)
[PATCH v2 0/3] Fix more NFS readdir regressions, Trond Myklebust, (Wed Dec 1, 8:36 am)
[PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 8:36 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 9:17 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 9:47 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 10:58 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Miklos Szeredi, (Wed Dec 1, 11:29 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 11:54 am)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 12:47 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 12:52 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 1:05 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 1:10 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 1:18 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 2:51 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 3:24 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 3:47 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 4:21 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 4:31 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 4:43 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 4:56 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 6:05 pm)
Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir, Linus Torvalds, (Wed Dec 1, 6:42 pm)
[PATCH v3 0/3] Fix more NFS readdir regressions, Trond Myklebust, (Wed Dec 1, 8:08 pm)
[PATCH v3 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Wed Dec 1, 8:08 pm)
Re: [PATCH v3 2/3] Call the filesystem back whenever a pag ..., Hugh Dickins, (Wed Dec 1, 8:34 pm)
[PATCH v4 0/3] Fix more NFS readdir regressions, Trond Myklebust, (Mon Dec 6, 9:59 am)
[PATCH v4 3/3] NFS: Fix a memory leak in nfs_readdir, Trond Myklebust, (Mon Dec 6, 9:59 am)