Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 18:03:42 +0000 (UTC)
From:      Marcin Cieslak <saper@saper.info>
To:        freebsd-hackers@freebsd.org
Subject:   Re: zfs + uma
Message-ID:  <slrni99vnu.23jn.saper@saper.info>
References:  <4C93236B.4050906@freebsd.org> <4C935F56.4030903@freebsd.org> <alpine.BSF.2.00.1009181221560.86826@fledge.watson.org> <20100918143516.3568f40e@r500.local> <F100D77A-CE16-40DE-B441-02E702B12686@FreeBSD.org> <AANLkTimyBMBM1Bfyz3RjQRoUkEeSPuLEZDb6ws0_XQ-o@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> FWIW, kvm_read taking the second argument as unsigned long instead of
> void* seems a bit inconsistent:

I think it done on purpose, since address in the kernel address space
has nothing to do with pointers for mere userland mortals. We shouldn't
bother compiler with aliasing and other stuff in case of kernel addresses.

//Marcin





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrni99vnu.23jn.saper>