https://github.com/torvalds/linux
Revision cb9083eb6e9cfb117c67f812065e82c7bdd64273 authored by Paolo Bonzini on 26 July 2017, 16:59:36 UTC, committed by Paolo Bonzini on 26 July 2017, 16:59:36 UTC
KVM: s390: fixup missing srcu lock

We need to hold the srcu lock when accessing memory slots
during migration

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2 parent s 2d6144e + 4f89914
Raw File
Tip revision: cb9083eb6e9cfb117c67f812065e82c7bdd64273 authored by Paolo Bonzini on 26 July 2017, 16:59:36 UTC
Merge tag 'kvm-s390-master-4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
Tip revision: cb9083e
profile2linkerlist.pl
#!/usr/bin/env perl

#
# Takes a (sorted) output of readprofile and turns it into a list suitable for
# linker scripts
#
# usage:
#	 readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
#
use strict;

while (<>) {
  my $line = $_;

  $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;

  print "*(.text.$1)\n"
      unless ($line =~ /unknown/) || ($line =~ /total/);
}
back to top