Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 04:21:21 +0000 (UTC)
From:      Stephen McKay <mckay@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern vfs_cache.c
Message-ID:  <200901200421.n0K4LSvN098695@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckay       2009-01-20 04:21:21 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_cache.c 
  Log:
  SVN rev 187460 on 2009-01-20 04:21:21Z by mckay
  
  Add a limit on namecache entries.
  
  In normal operation, the number of cache entries is roughly equal to the
  number of active vnodes.  However, when most of the recently accessed
  vnodes have many hard links, the number of cache entries can be 32000
  times as large, exhausting kernel memory and provoking a panic in
  kmem_malloc().
  
  MFC after: 2 weeks
  
  Revision  Changes    Path
  1.133     +6 -0      src/sys/kern/vfs_cache.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901200421.n0K4LSvN098695>