summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2017-05-03 14:04:38 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-03 11:33:04 -0400
commited651a10875f13135a5f59c1bae4d51b377b3925 (patch)
treea23701f729c69ad37901b504e02b42949a5ddcf8 /mm/swap_state.c
parent90c8014c2be5e5805d972341b40221da4309d564 (diff)
downloadlinux-ed651a10875f13135a5f59c1bae4d51b377b3925.tar.bz2
ibmvnic: Updated reset handling
The ibmvnic driver has multiple handlers for resetting the driver depending on the reason the reset is needed (failover, lpm, fatal erors,...). All of the reset handlers do essentially the same thing, this patch moves this work to a common reset handler. By doing this we also allow the driver to better handle situations where we can get a reset while handling a reset. The updated reset handling works by adding a reset work item to the list of resets and then scheduling work to perform the reset. This step is necessary because we can receive a reset in interrupt context and we want to handle the reset out of interrupt context. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions