Make reserved memory block detection more robust master
authorReto Buerki <reet@codelabs.ch>
Fri, 29 Sep 2017 14:10:49 +0000 (16:10 +0200)
committerReto Buerki <reet@codelabs.ch>
Fri, 29 Sep 2017 15:23:21 +0000 (17:23 +0200)
Summary:
Closes T457. Newer Linux kernels (tested with 4.13) changed the casing
of the memory type from 'reserved' to 'Reserved'. Therefore convert to
lowercase before comparison in filterMemoryBlocks function.

Also fix some creator tests and perform minor (pep8) cleanup.

Reviewers: ken

Reviewed By: ken

Maniphest Tasks: T457

Differential Revision: https://dev.codelabs.ch/D647


Trivial merge