Revision 9bbf282da87294e1bda0ccb4e351bfdf5fc076cd authored by Doug Ledford on 09 July 2015, 14:16:12 UTC, committed by Doug Ledford on 14 July 2015, 17:20:15 UTC
We create a number of work structs to be queued up to a workqueue, and on completion of the workqueue handler, the workqueue handler frees the allocated memory. If, however, we don't queue the work struct because the device is going down, then we need to free the memory ourselves. Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent a39a98f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.0 KB |
Makefile | -rw-r--r-- | 759 bytes |
array.c | -rw-r--r-- | 18.4 KB |
base.c | -rw-r--r-- | 79.1 KB |
cmdline.c | -rw-r--r-- | 651 bytes |
consoles.c | -rw-r--r-- | 2.2 KB |
cpuinfo.c | -rw-r--r-- | 564 bytes |
devices.c | -rw-r--r-- | 1.4 KB |
fd.c | -rw-r--r-- | 7.5 KB |
fd.h | -rw-r--r-- | 491 bytes |
generic.c | -rw-r--r-- | 13.9 KB |
inode.c | -rw-r--r-- | 11.6 KB |
internal.h | -rw-r--r-- | 8.1 KB |
interrupts.c | -rw-r--r-- | 1.1 KB |
kcore.c | -rw-r--r-- | 15.4 KB |
kmsg.c | -rw-r--r-- | 1.5 KB |
loadavg.c | -rw-r--r-- | 1.1 KB |
meminfo.c | -rw-r--r-- | 5.9 KB |
namespaces.c | -rw-r--r-- | 4.0 KB |
nommu.c | -rw-r--r-- | 3.2 KB |
page.c | -rw-r--r-- | 5.5 KB |
proc_net.c | -rw-r--r-- | 4.3 KB |
proc_sysctl.c | -rw-r--r-- | 39.1 KB |
proc_tty.c | -rw-r--r-- | 4.7 KB |
root.c | -rw-r--r-- | 5.6 KB |
self.c | -rw-r--r-- | 2.0 KB |
softirqs.c | -rw-r--r-- | 993 bytes |
stat.c | -rw-r--r-- | 5.6 KB |
task_mmu.c | -rw-r--r-- | 39.0 KB |
task_nommu.c | -rw-r--r-- | 7.5 KB |
thread_self.c | -rw-r--r-- | 2.2 KB |
uptime.c | -rw-r--r-- | 1.2 KB |
version.c | -rw-r--r-- | 761 bytes |
vmcore.c | -rw-r--r-- | 29.8 KB |
Computing file changes ...