DescriptionIPC: Increase MAX_DESCRIPTORS_PER_MESSAGE
This fixes the loading of Native Client's integrated runtime (IRT)
library on Mac, because we need to send 5 descriptors in NaCl's
startup IPC message on Mac.
I am being conservative in only increasing MAX_DESCRIPTORS_PER_MESSAGE
by 1 because it carries a storage cost (in
Channel::ChannelImpl::input_cmsg_buf_) which is multiplied by the
number of messages that can fit into Channel::kReadBufferSize, and the
storage is allocated for the lifetime of the Channel.
Note that I am not increasing the size of input_cmsg_buf_ under "#if
defined(OS_MACOSX)" in ipc_channel_posix.h because it is already too
small in the general case (see http://crbug.com/82829), but NaCl does
not exercise this general case.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=1804
TEST=NaCl's "run_ppapi_core_browser_test irt=1" when run against Chromium
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85617
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|