pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: webkit-gtk: Add more possible TODOs



Leonardo Taccari writes:
> [...]
> Log Message:
> webkit-gtk: Add more possible TODOs
>
> NetBSD (and probably other operating systems) maybe can benefit by using
> MADV_FREE and/or MADV_DONTNEED (ATM only Darwin benefits of them).
> [...]

Whoops, sorry, that's not completely right.
MADV_DONTNEED is used unconditionally for !Darwin on bmalloc.
Regarding Source/WTF/wtf/OSAllocatorPosix.cpp, Linux has separate
`#if OS(LINUX)' cases that also uses them.

(Anyway, it's probably worth to define HAVE_MADV_{FREE,DONTNEED} to
possibly benefit of them on !Darwin and !Linux too!)


Home | Main Index | Thread Index | Old Index