Opened 6 years ago

Closed 4 years ago

#9326 closed bug (no change required)

WebKit needs MAP_NORESERVE on x86_64

Reported by: xyzzy Owned by: xyzzy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: #8466 Blocking:
Has a Patch: no Platform: x86-64


WebKit tries to allocate a large amount of RAM at startup. On Linux it sets the MAP_NORESERVE flag, we need to change WebKit to set it as well for Haiku, and then implement MAP_NORESERVE in mmap. It'll work fine as long as you have enough RAM (more than 1GB).

Change History (4)

comment:1 Changed 6 years ago by xyzzy

Summary: WebKit needs MAP_NORESERVE on x86_64.WebKit needs MAP_NORESERVE on x86_64

Implementation of MAP_NORESERVE is blocked by #8466.

comment:2 Changed 5 years ago by pulkomandy

I think this is solved by

They now use mmap with PROT_NONE to reserve a chunk of address space, then mprotect to actually map some memory in it. Would that work for us?

comment:3 Changed 5 years ago by luroh

Milestone: R1Unscheduled

Moving non-x86 related tickets out of R1 milestone.

comment:4 Changed 4 years ago by pulkomandy

Resolution: no change required
Status: newclosed

Well, it seems to run fine as far as I know.

Note: See TracTickets for help on using tickets.