| To: | Gu Zheng <guz.fnst@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH V2] xfs: simplify kmem_{zone_}zalloc |
| From: | Ben Myers <bpm@xxxxxxx> |
| Date: | Wed, 6 Nov 2013 16:59:00 -0600 |
| Cc: | elder@xxxxxxxxxx, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <52777511.1020605@xxxxxxxxxxxxxx> |
| References: | <52777511.1020605@xxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
On Mon, Nov 04, 2013 at 06:21:05PM +0800, Gu Zheng wrote:
> Introduce flag KM_ZERO which is used to alloc zeroed entry, and convert
> kmem_{zone_}zalloc to call kmem_{zone_}alloc() with KM_ZERO directly,
> in order to avoid the setting to zero step.
> And following Dave's suggestion, make kmem_{zone_}zalloc static inline
> into kmem.h as they're now just a simple wrapper.
>
> V2:
> Make kmem_{zone_}zalloc static inline into kmem.h as Dave suggested.
>
> Signed-off-by: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
Applied. Thanks!
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [XFS updates] XFS development tree branch, for-next, updated. xfs-for-linus-v3.12-rc3-49-g359d992, xfs |
|---|---|
| Next by Date: | Re: [PATCH 0/5] xfs: more patches for 3.13, Ben Myers |
| Previous by Thread: | Re: [PATCH V2] xfs: simplify kmem_{zone_}zalloc, Dave Chinner |
| Next by Thread: | JOB OFFER!, AWH GLOBAL LTD |
| Indexes: | [Date] [Thread] [Top] [All Lists] |