| To: | Pekka J Enberg <penberg@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | [xfs-masters] Re: [PATCH] xfs: kill kmem_zone init |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Tue, 21 Mar 2006 08:20:37 +1100 |
| Cc: | xfs-masters@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.58.0603201501540.18684@xxxxxxxxxxxxxxxxxxxxx>; from penberg@xxxxxxxxxxxxxx on Mon, Mar 20, 2006 at 03:04:14PM +0200 |
| References: | <Pine.LNX.4.58.0603201501540.18684@xxxxxxxxxxxxxxxxxxxxx> |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
On Mon, Mar 20, 2006 at 03:04:14PM +0200, Pekka J Enberg wrote: > Hi! Hi Pekka, > This patch changes kmem_zone_init() callers to use kmem_cache_alloc() so > we can kill the wrapper. Sorry, but thats just silly. Did you even look at the code around what you're changing (it has to do more than just wrap up slab calls)? So, NACK on this patch - it leaves the code very confused (half zoney, half slaby), and is just unhelpful code churn at the end of the day. For your zalloc patch, you will need to duplicate the logic in kmem_zone_alloc into kmem_zone_zalloc in order to use that new zalloc interface you're introducing - which should be fine. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [xfs-masters] [Bug 6180] XFS oopses on my box sometimes, bugme-daemon |
|---|---|
| Next by Date: | [xfs-masters] Re: [PATCH] xfs: kill kmem_zone init, Pekka J Enberg |
| Previous by Thread: | [xfs-masters] [PATCH] xfs: kill kmem_zone init, Pekka J Enberg |
| Next by Thread: | [xfs-masters] Re: [PATCH] xfs: kill kmem_zone init, Pekka J Enberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |