summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorChang Huaixin <huaixin.chx@alibaba-inc.com>2014-10-16 22:33:24 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-10-16 22:37:57 +0200
commit4d544e3bdb12f8e48f61e7f2270b253a48c69e00 (patch)
treef5fef7fc107d9eefc13afc01c6db9ad50810c57f /drivers/pcmcia
parentInput: alps - fix v4 button press recognition (diff)
downloadlinux-4d544e3bdb12f8e48f61e7f2270b253a48c69e00.tar.xz
linux-4d544e3bdb12f8e48f61e7f2270b253a48c69e00.zip
Input: xen-kbdfront - free grant table entry in xenkbd_disconnect_backend
xenkbd_disconnect_backend doesn't free grant table entry. This bug affects live migration. xenkbd_disconnect_backend uses gnttab_end_foreign_access_ref to handle grant table entry which doesn't really free an entry. Thus every time we do xenkbd_resume, grant table entry increses by one. As an grant table entry occupies 8 bytes, an grant table page has at most 512 entries. Every 512 times we do xenkdb_resume, grant table pages increses by one. After around 3500 times of live migration, grant table pages will increase by 7, causing too many pages to populate and hitting max_pages limit when assigning pages.Thus assign_pages will fail, so will live migration. Signed-off-by: Chang Huaixin <huaixin.chx@alibaba-inc.com> Acked-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions