login
Header Space

 
 

Re: forced umount?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Snitzer <snitzer@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Saturday, March 17, 2007 - 6:53 am

On 3/17/07, Mike Snitzer <snitzer@gmail.com> wrote:

FYI, the revoke implementation have since been changed to follow the
badfs-style approach of the forced unmount patches. However, there are
some problems with the forced unmount patches that are now fixed in
the revoke implementation:

  - You can't use munmap() to take down shared memory mappings because the
    application can accidentally remap something completely different
to that region.
  - The ->f_light bits slow down other fget_light() users and  there's
a race between
    fcheck_files() and set_f_light().
  - The operation can live-lock if a malicious process keeps forking. The revoke
    implementation solves this by revoking in two passes: (1) take
down the descriptors
    and (2) take down the actual inodes.

                           Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
forced umount?, Mike Snitzer, (Sat Mar 17, 12:06 am)
Re: forced umount?, Arjan van de Ven, (Sun Mar 18, 3:16 pm)
Re: forced umount?, Pozsar Balazs, (Mon Mar 26, 7:21 am)
Re: forced umount?, Mike Snitzer, (Sun Mar 18, 4:20 pm)
Re: forced umount?, Matthew Wilcox, (Sun Mar 18, 4:13 pm)
Re: forced umount?, Jan Engelhardt, (Sun Mar 18, 7:45 pm)
Re: forced umount?, Gene Heskett, (Sat Mar 17, 1:24 am)
Re: forced umount?, Jeremy Fitzhardinge, (Sat Mar 17, 12:27 am)
Re: forced umount?, Mike Snitzer, (Sat Mar 17, 1:37 am)
Re: forced umount?, Pekka Enberg, (Sat Mar 17, 6:53 am)
Re: forced umount?, Phillip Susi, (Mon Mar 26, 5:34 pm)
Re: forced umount?, Pekka J Enberg, (Tue Mar 27, 2:32 am)
Re: forced umount?, Phillip Susi, (Wed Mar 28, 10:46 am)
speck-geostationary