Opened 7 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

Description

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 by xyzzy, 7 years ago

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 by pulkomandy, 6 years ago

I think this is solved by https://bugs.webkit.org/show_bug.cgi?format=multiple&id=65766

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 by luroh, 5 years ago

Milestone: R1Unscheduled

Moving non-x86 related tickets out of R1 milestone.

comment:4 by pulkomandy, 4 years ago

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.