summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>2017-05-09 22:09:22 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2017-06-01 20:23:13 -0700
commit1399c5ad53f380ebf4e465892bfd0c8b82b12aeb (patch)
tree87b64a630549d15dff9b25e6584c2949d1f4ccfc /README
parent369ca65620a00611285666c9b961e6156572e8d7 (diff)
downloadkmod-1399c5ad53f380ebf4e465892bfd0c8b82b12aeb.tar.gz
kmod-1399c5ad53f380ebf4e465892bfd0c8b82b12aeb.tar.bz2
kmod-1399c5ad53f380ebf4e465892bfd0c8b82b12aeb.zip
depmod: rewrite depmod modules search with scratchbuf
The recursive search code used used pretty big, PATH_MAX, automatic storage buffer for the module directory scanning. Some time ago there was scratchbuf implemented, which dynamically reallocates its buffer on demand. The patch takes it in use for the scanning code also. The initial size is hardcoded to 256 bytes which sounds good enough for most usecases so there should be not many reallocations. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions