Re: [PATCH] fix sys cpumap for > 352 NR_CPUS

From: Greg KH
Date: Thu Jun 03 2004 - 11:27:45 EST


On Wed, Jun 02, 2004 at 05:17:24PM -0700, Andrew Morton wrote:
> Paul Jackson <pj@xxxxxxx> wrote:
> >
> > > Can't we just stick a PAGE_SIZE in here?
> >
> > We could - either way works about as well. Is there something special
> > about PAGE_SIZE here? Is that in fact what sysfs is making available?
>
> Think so. Greg, can you confirm that a SYSDEV_ATTR's handler can safely
> assume that it has a PAGE_SIZE buffer to write to?

Yes, that is correct.

thanks,

greg k-h
-
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/