Doesn't one of the Mm functions have a special flag to allocate on 4KB alignment, designed for this kind of problem that 64KB alignment does?
Best regards, Alex Ionescu
Hartmut Birr wrote:
Hi,
this patch (or some areas in ntoskrnl) isn't correct. This patch puts always 64kB between the TEB's. This limits the number of threads to 30,000 or less. I've found this by an other bug in kernel32.
- Hartmut
-----Original Message----- From: ros-cvs-bounces@reactos.com [mailto:ros-cvs-bounces@reactos.com] On Behalf Of Ge van Geldorp Sent: Tuesday, September 28, 2004 12:49 PM To: ros-cvs@reactos.com Subject: [ros-cvs] CVS Update: reactos
CVSROOT: /CVS/ReactOS Module name: reactos Repository: reactos/ntoskrnl/ps/ Changes by: gvg@mok.osexperts.com 04/09/28 12:49:21
Modified files: reactos/ntoskrnl/ex/: sysinfo.c reactos/ntoskrnl/include/internal/: mm.h reactos/ntoskrnl/mm/: anonmem.c marea.c reactos/ntoskrnl/ps/: process.c
Log message: NtAllocateVirtualMemory() should return 64k aligned areas
Ros-cvs mailing list Ros-cvs@reactos.com http://reactos.com/mailman/listinfo/ros-cvs
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev