]> xenbits.xensource.com Git - mini-os.git/commit
mini-os: mm: don't have two large arrays of the same kind
authorJuergen Gross <jgross@suse.com>
Wed, 24 Jul 2024 10:03:26 +0000 (12:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Jul 2024 10:03:26 +0000 (12:03 +0200)
commit27782562cb0558ce651031b4921931c33e6f7c71
tree7d95199f595c82950edde5e0abdca6b771c05d4c
parentb12961e9044e249750d9640910d3aa769accc8c6
mini-os: mm: don't have two large arrays of the same kind

In the CONFIG_PARAVIRT case there are two identical static arrays of
more than 8kB size with function scope. As the two functions never
nest, a single array of file scope can replace the two existing
instances.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/x86/mm.c