Re: [PATCH] VM routine fixes

From: David Howells
Date: Fri Nov 12 2004 - 06:07:10 EST



> > The vm_area_struct doesn't have an ops member when !MMU.
>
> What is the reason for this change?

vm_area_struct not having an ops member? There's no real need for ops on
uClinux since almost all of the ops are irrelevant. The only one that could be
relevant is vmops->close(). I suppose it might make sense to have this. It
would indicate to a chardev for instance that the last mapping upon it has
been gone, but then fops->release() is probably more appropriate still.

vmops can be added back in for the !MMU case if it's deemed appropriate.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/