aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2012-10-09 12:01:01 +0800
committerGreg Kroah-Hartman <[email protected]>2012-10-22 08:37:16 -0700
commit373304fe10fc46e68815c7116709ad292695dfd1 (patch)
treee81c57ff5959628e61e93ff62f13a1b5151cd1b7 /net/unix/sysctl_net_unix.c
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
firmware loader: cancel uncache work before caching firmware
Under 'Opportunistic sleep' situation, system sleep might be triggered very frequently, so the uncahce work may not be completed before caching firmware during next suspend. This patch cancels the uncache work before caching firmware to fix the problem above. Also this patch optimizes the cacheing firmware mechanism a bit by only storing one firmware cache entry for one firmware image. So if the firmware is still cached during suspend, it doesn't need to be loaded from user space any more. Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions