diff options
author | Finn Thain <[email protected]> | 2023-05-16 11:22:05 +1000 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-05-22 13:51:56 +0200 |
commit | 72b44f6577f15f37fe964c8dcc42a7c5736e604c (patch) | |
tree | 5de0c8d26881e636d36c71fbe4fbbccba4ad4994 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | b7629ce6f492eb2d48b9ee1dab5980c7278514c1 (diff) |
nubus: Don't list slot resources by default
Some Nubus card ROMs contain many slot resources. A single Radius video
card produced well over a thousand entries under /proc/bus/nubus/.
Populating /proc/bus/nubus/ on a slow machine with several such cards
installed takes long enough that the user may think that the system is
wedged. All those procfs entries also consume significant RAM though
they are not normally needed (except by developers).
Omit these resources from /proc/bus/nubus/ by default and add a kernel
parameter to enable them when needed.
On the test machine, this saved 300 kB and 10 seconds.
Cc: Brad Boyer <[email protected]>
Reviewed-by: Brad Boyer <[email protected]>
Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/71ed7fb234a5f7381a50253b0d841a656d53e64c.1684200125.git.fthain@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions