Date: Sun, 11 Feb 2007 20:13:52 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma.h uma_core.c Message-ID: <200702112013.l1BKDr3i076807@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-02-11 20:13:52 UTC FreeBSD src repository Modified files: sys/vm uma.h uma_core.c Log: Add uma_set_align() interface, which will be called at most once during boot by MD code to indicated detected alignment preference. Rather than cache alignment being encoded in UMA consumers by defining a global alignment value of (16 - 1) in UMA_ALIGN_CACHE, UMA_ALIGN_CACHE is now a special value (-1) that causes UMA to look at registered alignment. If no preferred alignment has been selected by MD code, a default alignment of (16 - 1) will be used. Currently, no hardware platforms specify alignment; architecture maintainers will need to modify MD startup code to specify an alignment if desired. This must occur before initialization of UMA so that all UMA zones pick up the requested alignment. Reviewed by: jeff, alc Submitted by: attilio Revision Changes Path 1.31 +13 -1 src/sys/vm/uma.h 1.145 +13 -1 src/sys/vm/uma_core.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702112013.l1BKDr3i076807>