[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <473CBC17.7060608@redhat.com>
Date: Thu, 15 Nov 2007 16:37:27 -0500
From: Hideo AOKI <haoki@...hat.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
satoshi.oshima.fk@...achi.com, andi@...stfloor.org,
shemminger@...ux-foundation.org, johnpol@....mipt.ru,
yoshfuji@...ux-ipv6.org, yumiko.sugita.yf@...achi.com
Subject: Re: [PATCH 2/5] accounting unit and variable
Herbert Xu wrote:
> On Wed, Nov 14, 2007 at 06:30:51PM -0500, Hideo AOKI wrote:
>> +#define SK_DATAGRAM_MEM_QUANTUM ((unsigned int)PAGE_SIZE)
>> +
>> +static inline int sk_datagram_pages(int amt)
>> +{
>> + /* Cast to unsigned as an optimization, since amt is always
>> positive. */
>> + return DIV_ROUND_UP((unsigned int)amt, SK_DATAGRAM_MEM_QUANTUM);
>> +}
>> +
>
> Thanks, this looks OK to me.
Hello,
Thank you for reviewing. Then, I'll send take 8 patch set later.
Regards,
Hideo
--
Hitachi Computer Products (America) Inc.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists