Pavel Machek wrote: > *Good starting point*. > > Anyway, one solution would be to simply mlockall() on that replugitd Unfortunately, mlockall() isn't effective for an X application (for the dialog) because the X server needs resources too, and that's not usually mlock'd because it's too big. (It would be nice to have a general solution to allow mlock'd GUI applications). > and/or make dirty data hdd based (not ram based) Ooh, swappable dirty data... nice idea :) > and/or restricting dirty buffers to 10MB for removable media. That seems like the simplest effective solution. -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Use of getblk differs between locations
- From: Mikulas Patocka <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- References:
- Re: [PATCH] Use of getblk differs between locations
- From: Glauber de Oliveira Costa <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Mikulas Patocka <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Anton Altaparmakov <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Mikulas Patocka <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Anton Altaparmakov <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Jeff Mahoney <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Mikulas Patocka <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Jeff Mahoney <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Mikulas Patocka <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- From: Pavel Machek <[email protected]>
- Re: [PATCH] Use of getblk differs between locations
- Prev by Date: Re: [patch 0/8] Nesting class_device patches that actually work
- Next by Date: Re: [stable] Re: [PATCH] Re: bug in handling of highspeed usb HID devices
- Previous by thread: Re: [PATCH] Use of getblk differs between locations
- Next by thread: Re: [PATCH] Use of getblk differs between locations
- Index(es):