Messages in this thread | | | Date | Fri, 19 Dec 2003 10:01:43 -0500 (EST) | From | Rik van Riel <> | Subject | Re: partially encrypted filesystem |
| |
On Wed, 3 Dec 2003, Linus Torvalds wrote:
> And that in turn causes problems. You get all kinds of interesting > deadlock schenarios when write-out requires more memory in order to > succeed.
I suspect this should be fixable with just a simple mempool.
Opportunistic allocation of encrypt-and-IO buffers to keep performance decent when there's lots of memory available, fallback to the mempool when free memory is low.
In real emergencies the IO completion code could probably free the encrypt-and-IO buffer into the mempool.
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |