Date: Sat, 1 Jan 2005 19:05:46 +0000 (UTC) From: Stefan Esser <se@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sym sym_hipd.c Message-ID: <200501011905.j01J5ktv039601@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
se 2005-01-01 19:05:46 UTC FreeBSD src repository Modified files: sys/dev/sym sym_hipd.c Log: Attempt to fix Symbios driver on amd64. The private memory allocation function provided by the driver limits allocations to the page size, i.e. 4KB on i385 and 8KB on typical 64 bit processors. Since amd64 has 64 bit pointers, but only 4KB pages, an array of pointers that just fits into one page on all the other processors, does require 2 pages on amd64. In order to make this driver useful on amd64, the allocation unit has been increased to 2 pages on amd64 and contigmalloc() is used instead of malloc(). All other processor types are unaffected by this change. This modification has only been compile-tested on amd64, yet, but should just work (FLW). Revision Changes Path 1.51 +10 -0 src/sys/dev/sym/sym_hipd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501011905.j01J5ktv039601>