Re: [PATCH 30/30] nfs: fix various memory recursions possible with swap over NFS.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, July 25, 2008 - 3:57 am

On Fri, 2008-07-25 at 19:46 +0900, KOSAKI Motohiro wrote:

Does the misunderstanding stem from the use of 'enough'?

GFP_NOFS is _more_ permissive than GFP_NOIO in that it will initiate IO,
just not of any filesystem data.

The problem is that previuosly NOFS was correct because that avoids
recursion into the NFS code, it now is not, because also IO (swap) can
lead to this recursion.

Therefore we must tighten the restriction and use NOIO.


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

Messages in current thread:
Re: [PATCH 30/30] nfs: fix various memory recursions possi ..., Peter Zijlstra, (Fri Jul 25, 3:57 am)