Typecasting a void pointer to unsigned long in zsmalloc.c

Sotir Danailov sndanailov at gmail.com
Mon Jan 27 05:39:31 EST 2025


On Mon, Jan 27, 2025 at 12:43 AM Leam Hall <leamhall at gmail.com> wrote:
> I'd think pointing to good documents is better than replicating them and risk staleness, isn't it?

Yes, but then the issue becomes, what if the documentation you're
referencing moves or is removed. People would lose the information
completely. I think it's good to point to it as a "source", but still
have a basic description.
The LP32/LP64 data models seem like one of those things which
shouldn't change anytime soon for the kernel anyway.

I would like to gather info regarding uintptr_t and other similar
types as well. Why they aren't used and have it all compiled into one
place.



More information about the Kernelnewbies mailing list