• Vladislav Vaintroub's avatar
    MDEV-25341 post-fix. Don't use DiscardVirtualMemory on Windows. · c1fd082e
    Vladislav Vaintroub authored
    This turns out to be a too expensive call to use for every freed page,
    especially under global buffer pool mutex protection.
    
    Also, the usefulness of proactive shrinking of the buffer pool on Windows
    this is seems questionable - there is no OOM killer, and the OS will
    shrink working sets itself.
    c1fd082e
buf0buf.h 72.5 KB