Messages in this thread | | | Date | Fri, 28 Aug 2015 07:06:31 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 04/11] x86, fpu: remove xfeature_nr |
| |
* Dave Hansen <dave@sr71.net> wrote:
> > From: Dave Hansen <dave.hansen@linux.intel.com> > > xfeature_nr ended up being initialized too late for me to > use it in the "xsave size sanity check" patch which is > later in the series. I tried to move around its initialization > but realized that it was just as easy to get rid of it. > > We only have 9 XFEATURES. Instead of dynamically calculating > and storing the last feature, just use the compile-time max: > XFEATURES_NR_MAX. Note that even with 'xfeatures_nr' we can > had "holes" in the xfeatures_mask that we had to deal with.
s/we can had/we can have
Thanks,
Ingo
| |