Re: [PATCH] 2.5.21 Nonlinear CPU support

From: Anton Altaparmakov (
Date: Wed Jun 12 2002 - 16:15:19 EST

At 22:03 12/06/02, Andreas Dilger wrote:
>On Jun 12, 2002 21:41 +0100, Anton Altaparmakov wrote:
> > But if doing something like that I might as well use the present
> > approach and just allocate all buffers at once if they haven't been
> > allocated yet and be done with it. Then no vfree()s are needed either and
> > then it really does work. (-;
>But then you may be allocating a lot of memory for CPUs that don't
>even exist, which is the whole point of this exercise. Better to do
>it on-demand and loop for the very few times needed.

Sorry I ommitted a step from my trend of thought when writing the above. I
was assuming that I would be using the cpu_possible() macro that is to be
introduced so that only buffers for actually existing cpu sockets get

Best regards,


   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
Anton Altaparmakov <aia21 at> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on
WWW: &

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:26 EST