Messages in this thread | | | From | Saurabh Sengar <> | Subject | Re: [PATCH] efi: replace GFP_KERNEL with GFP_ATOMIC | Date | Tue, 3 Nov 2015 23:08:46 +0530 |
| |
>It's slightly winding code, but if you look at the callers of >efivar_init() you'll see that none of them set both 'atomic' and >'duplicates', so dup_variable_bug() will never be called while holding >a spinlock.
>Or am I missing something?
I was assuming that there could be a possibility when both 'atomic' and 'duplicates' are set. If both can never be set, then this patch does not make any sense, you are correct. Thank you for review
| |