Re: [PATCH 7/8] Use xvmalloc to store compressed chunks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nitin Gupta
Date: Sunday, July 18, 2010 - 11:48 pm

On 07/19/2010 10:06 AM, Minchan Kim wrote:

I was missing this point regarding cleancache_put(). So, we can now:
 - take plain (non-irq) spin_lock in zcache_put_page()
 - take non-irq rwlock  in zcache_inode_create() which is called only by
zcache_put_page().
 - Same applies to zcache_store_page(). So, we can also get rid of unnecessary
preempt_disable()/enable() in this function.

I will put up a comment for all these functions and make these changes.

Thanks,
Nitin


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

Messages in current thread:
[PATCH 0/8] zcache: page cache compression support, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 1/8] Allow sharing xvmalloc for zram and zcache, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 2/8] Basic zcache functionality, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 4/8] Shrink zcache based on memlimit, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 5/8] Eliminate zero-filled pages, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 6/8] Compress pages using LZO, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 7/8] Use xvmalloc to store compressed chunks, Nitin Gupta, (Fri Jul 16, 5:37 am)
[PATCH 8/8] Document sysfs entries, Nitin Gupta, (Fri Jul 16, 5:37 am)
Re: [PATCH 0/8] zcache: page cache compression support, Ed Tomlinson, (Sat Jul 17, 2:13 pm)
Re: [PATCH 0/8] zcache: page cache compression support, Nitin Gupta, (Sat Jul 17, 7:23 pm)
Re: [PATCH 0/8] zcache: page cache compression support, Pekka Enberg, (Sun Jul 18, 12:50 am)
Re: [PATCH 7/8] Use xvmalloc to store compressed chunks, Pekka Enberg, (Sun Jul 18, 12:53 am)
Re: [PATCH 0/8] zcache: page cache compression support, Nitin Gupta, (Sun Jul 18, 1:12 am)
Re: [PATCH 2/8] Basic zcache functionality, Pekka Enberg, (Sun Jul 18, 1:14 am)
Re: [PATCH 2/8] Basic zcache functionality, Pekka Enberg, (Sun Jul 18, 1:27 am)
Re: [PATCH 2/8] Basic zcache functionality, Eric Dumazet, (Sun Jul 18, 1:44 am)
Re: [PATCH 2/8] Basic zcache functionality, Nitin Gupta, (Sun Jul 18, 2:45 am)
Re: [PATCH 2/8] Basic zcache functionality, Nitin Gupta, (Sun Jul 18, 2:51 am)
Re: [PATCH 7/8] Use xvmalloc to store compressed chunks, Nitin Gupta, (Sun Jul 18, 11:48 pm)
RE: [PATCH 0/8] zcache: page cache compression support, Dan Magenheimer, (Mon Jul 19, 12:57 pm)
Re: [PATCH 0/8] zcache: page cache compression support, Nitin Gupta, (Tue Jul 20, 6:50 am)
RE: [PATCH 0/8] zcache: page cache compression support, Dan Magenheimer, (Tue Jul 20, 7:28 am)
Re: [PATCH 4/8] Shrink zcache based on memlimit, Minchan Kim, (Tue Jul 20, 4:03 pm)
Re: [PATCH 0/8] zcache: page cache compression support, Nitin Gupta, (Tue Jul 20, 9:27 pm)
Re: [PATCH 4/8] Shrink zcache based on memlimit, Nitin Gupta, (Tue Jul 20, 9:52 pm)
Re: [PATCH 4/8] Shrink zcache based on memlimit, Ed Tomlinson, (Wed Jul 21, 4:32 am)
RE: [PATCH 0/8] zcache: page cache compression support, Dan Magenheimer, (Wed Jul 21, 10:37 am)
Re: [PATCH 4/8] Shrink zcache based on memlimit, Nitin Gupta, (Fri Jul 23, 12:23 pm)