[lkml]   [2007]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
Richard Griffiths (wrs) wrote:
> One question I have is the difference in the two models. If I understand
> correctly the filemap_xip expects the ext2 to mount as XIP while the
> Linear Cramfs only enables XIP for apps that have the sticky bit set.
> Hence the Application XIP moniker.
> Does the filemap_xip expect the entire filesystem is XIP?
The file operations from filemap_xip are only effective if the struct
file_operations vector refers to them (see ext2_xip_file_operations in
fs/ext2/file.c as example). In oder to function proper, the
corresponding address_space_operations vector needs to provide an
implementation of get_xip_page (see ext2_get_xip_page in
fs/ext2/xip.c). Both vectors are per inode, one can chose to have XIP
for individual files in a file system.

so long,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-05-24 08:51    [W:0.140 / U:2.688 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site