summaryrefslogtreecommitdiff
path: root/fs/select.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-03-12 13:55:12 (GMT)
committerJiri Kosina <jkosina@suse.cz>2007-03-12 13:55:12 (GMT)
commit47a80edb1d80ae644ea374a016c8e68d43d2671f (patch)
tree374089eed300fbc95b8286805cdb43333af9fc30 /fs/select.c
parentbe521466feb3bb1cd89de82a2b1d080e9ebd3cb6 (diff)
downloadlinux-47a80edb1d80ae644ea374a016c8e68d43d2671f.tar.xz
HID: allocate hid_parser in a proper way
hid_parser is non-trivially large structure, so it should be allocated using vmalloc() to avoid unsuccessful allocations when memory fragmentation is too high. This structue has a very short life, it's destroyed as soon as the report descriptor has been completely parsed. This should be considered a temporary solution, until the hid_parser is rewritten to consume less memory during report descriptor parsing. Acked-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions