Re: [Ecryptfs-devel] [PATCH 3/11] eCryptfs: read_write.c routines

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, September 21, 2007 - 3:05 pm

On Fri, 21 Sep 2007 16:51:25 -0500
Michael Halcrow <mhalcrow@us.ibm.com> wrote:


We might as well stick with kmap.  I was just having a whine - I don't know
what to do about this really, apart from perhaps giving in to reality and
making kmap work better.


btw, I'm not really a great admirer of the whole patchset: it does some
pretty nasty-looking things: allocating dynamic memory, grabbing the
underlying pageframes with virt_to_page(), passing them back into kernel
APIs which are supposed to be called from userspace, etc.  It's all rather
ugly and abusive-looking.

But given that you're trying to do things which the kernel just isn't set
up to do, it isn't immediately obvious what can be done to fix it.

Perhaps there are problems whcih I didn't have time to spot, and perhaps
there are things which could be done to improve it.  But I don't have time
to sit down and absorb it all to a sufficient level of detail to be able to
suggest anything, and nobody else seems to be interested in reading the
patches so whoop, in it all goes.

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

Messages in current thread:
[PATCH 1/11] eCryptfs: Remove header_extent_size, Michael Halcrow, (Mon Sep 17, 2:45 pm)
[PATCH 2/11] eCryptfs: Remove assignments in if-statements, Michael Halcrow, (Mon Sep 17, 2:45 pm)
[PATCH 3/11] eCryptfs: read_write.c routines, Michael Halcrow, (Mon Sep 17, 2:46 pm)
[PATCH 6/11] eCryptfs: Update metadata read/write functions, Michael Halcrow, (Mon Sep 17, 2:48 pm)
[PATCH 11/11] eCryptfs: Replace magic numbers, Michael Halcrow, (Mon Sep 17, 2:52 pm)
Re: [PATCH 3/11] eCryptfs: read_write.c routines, Andrew Morton, (Wed Sep 19, 10:25 pm)
Re: [PATCH 3/11] eCryptfs: read_write.c routines, Andrew Morton, (Wed Sep 19, 10:38 pm)
Re: [Ecryptfs-devel] [PATCH 3/11] eCryptfs: read_write.c r ..., Andrew Morton, (Fri Sep 21, 3:05 pm)
Re: [PATCH 3/11] eCryptfs: read_write.c routines, Michael Halcrow, (Mon Sep 24, 3:12 pm)