RE: [PATCH v2 0/3] staging: zcache: xcfmalloc support

From: Dave Hansen
Date: Mon Oct 03 2011 - 12:02:15 EST


Hi Dan/Nitin,

I've been reading through Seth's patches a bit and looking over the
locking in general. I'm wondering why preempt_disable() is used so
heavily. Preempt seems to be disabled for virtually all of zcache's
operations. It seems a bit unorthodox, and I guess I'm anticipating the
future screams of the low-latency folks. :)

I think long-term it will hurt zcache's ability to move in to other
code. Right now, it's pretty limited to being used in conjunction with
memory reclaim called from kswapd. Seems like something we ought to add
to the TODO list before it escapes from staging/.

-- Dave

--
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/