Re: [PATCH] ipc,shm: increase default size for shmmax

From: One Thousand Gnomes
Date: Wed Apr 02 2014 - 10:56:04 EST


> Why aren't people just setting the sysctl to a petabyte? What problems
> would that lead to?

Historically - hanging on real world desktop systems when someone
accidentally creates a giant SHM segment and maps it.

If you are running with vm overcmmit set to actually do checks then it
*shouldn't* blow up nowdays.

More to the point wtf are people still using prehistoric sys5 IPC APIs
not shmemfs/posix shmem ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/