On Sat 15 Aug 2009 14:53:30 Herbert Faleiros wrote:
[cut]
> A conclusão é que o próprio kernel seta isso p/ 4k baseado em algo da
> própria arquitetura detectada quando utiliza configurações default com base
> p/ gerar o config (ainda não sei no que ele se baseia p/ setar 4k e porque
> o config-generic do Slackware marca isso como 0).

é daqui que sai os 4k, não dos arch/x86/configs:

mm/Kconfig

config DEFAULT_MMAP_MIN_ADDR
        int "Low address space to protect from user allocation"
        default 4096
        help
          This is the portion of low virtual memory which should be protected
          from userspace allocation.  Keeping a user from writing to low pages
          can help reduce the impact of kernel NULL pointer bugs.

          For most ia64, ppc64 and x86 users with lots of address space
          a value of 65536 is reasonable and should cause no problems.
          On arm and other archs it should not be higher than 32768.
          Programs which use vm86 functionality would either need additional
          permissions from either the LSM or the capabilities module or have
          this protection disabled.

          This value can be changed after boot using the
          /proc/sys/vm/mmap_min_addr tunable.

--
Herbert

--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br

Antes de perguntar:
http://www.istf.com.br/perguntas/

Para sair da lista envie um e-mail para:
[email protected]
-~----------~----~----~----~------~----~------~--~---

Responder a