Skip to content

Commit

Permalink
Merge branch 'for-linus/bugfixes' of git://xenbits.xensource.com/peop…
Browse files Browse the repository at this point in the history
…le/ianc/linux-2.6

* 'for-linus/bugfixes' of git://xenbits.xensource.com/people/ianc/linux-2.6:
  xen: avoid allocation causing potential swap activity on the resume path
  xen: ensure timer tick is resumed even on CPU driving the resume
  • Loading branch information
Linus Torvalds committed Jun 3, 2010
2 parents f150dba + b3831cb commit b01b7dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ static void xen_vcpu_notify_restore(void *data)

void xen_arch_resume(void)
{
smp_call_function(xen_vcpu_notify_restore,
(void *)CLOCK_EVT_NOTIFY_RESUME, 1);
on_each_cpu(xen_vcpu_notify_restore,
(void *)CLOCK_EVT_NOTIFY_RESUME, 1);
}
2 changes: 1 addition & 1 deletion drivers/xen/xenbus/xenbus_xs.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ int xenbus_printf(struct xenbus_transaction t,
#define PRINTF_BUFFER_SIZE 4096
char *printf_buffer;

printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL);
printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_NOIO | __GFP_HIGH);
if (printf_buffer == NULL)
return -ENOMEM;

Expand Down

0 comments on commit b01b7dc

Please sign in to comment.