Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-11-21 Thread Masao Uebayashi
On Sun, Nov 21, 2010 at 07:41:49AM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Sun Nov 21 07:41:49 UTC 2010 Modified Files: src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c Log Message: Revert XIP putpages totally. XIP'ed uobj owns no

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-11-21 Thread Masao Uebayashi
On Sun, Nov 21, 2010 at 05:07:39PM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Sun Nov 21 17:07:38 UTC 2010 Modified Files: src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c Log Message: Put back XIP putpages, but slightly modifed to be

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-03-25 Thread Masao Uebayashi
On Thu, Mar 18, 2010 at 1:12 AM, Masao Uebayashi uebay...@tombi.co.jp wrote: On Tue, Mar 16, 2010 at 03:52:26AM +, YAMAMOTO Takashi wrote: Why not adding VOP_GETPAGES_XIP - because XIP is almost transparent to filesystems.  The difference between XIP or not is only where to get pages,

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-03-17 Thread Masao Uebayashi
On Tue, Mar 16, 2010 at 03:52:26AM +, YAMAMOTO Takashi wrote: Why not adding VOP_GETPAGES_XIP - because XIP is almost transparent to filesystems. The difference between XIP or not is only where to get pages, which is beyond filesystem's task. it doesn't sound convincing to me, given

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-03-15 Thread YAMAMOTO Takashi
[add cc:tech-kern] hi, what's the point of implementing it in the single VOP? ie. how is it better than having VOP_GETPAGES_XIP and pgo_get_xip? Why not adding VOP_GETPAGES_XIP - because XIP is almost transparent to filesystems. The difference between XIP or not is only where to get

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-02-23 Thread YAMAMOTO Takashi
hi, Module Name: src Committed By: uebayasi Date: Thu Feb 11 06:23:04 UTC 2010 Modified Files: src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c Log Message: genfs_getpages() for XIP. Pages are directly mappable, and always there. What we need to do here is to address

Re: CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-02-23 Thread Masao Uebayashi
what's the point of implementing it in the single VOP? ie. how is it better than having VOP_GETPAGES_XIP and pgo_get_xip? Why not adding VOP_GETPAGES_XIP - because XIP is almost transparent to filesystems. The difference between XIP or not is only where to get pages, which is beyond

CVS commit: [uebayasi-xip] src/sys/miscfs/genfs

2010-02-22 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Tue Feb 23 07:46:28 UTC 2010 Modified Files: src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c Log Message: genfs_do_getpages_xip: Drop vmobjlock before calling VOP_BMAP, otherwise deadlock. No idea how this worked for me