Richard Braun, le Tue 26 Dec 2006 00:50:49 +0100, a écrit :
> On Mon, Dec 25, 2006 at 09:08:01PM +0100, Samuel Thibault wrote:
> > It looks like zalloc() doesn't have any way to allocate aligned buffers.
> > However, for FXSR we _need_ 16-byte-aligned buffers.  Shouldn't we add
> > an alignment capability to the zone allocator?
> 
> Yes, zinit() could use an align parameter. How many buffers do you want
> to allocate for FXSR ?

Just like for usual fnsave/rstor: one per thread that uses FP.

BTW, I have a dirty-but-working patch for FXSR.

Samuel


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to