Messages in this thread | | | Date | Wed, 27 Sep 2006 20:46:32 -0700 | From | Andrew Morton <> | Subject | Re: [NFS] [PATCH 008 of 11] knfsd: Prepare knfsd for support of rsize/wsize of up to 1MB, over TCP. |
| |
On Thu, 28 Sep 2006 13:41:27 +1000 Neil Brown <neilb@suse.de> wrote:
> pages = 2 + (size+ PAGE_SIZE -1) / PAGE_SIZE;
That's (the newly-added) DIV_ROUND_UP(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |