Re: [PATCH v8 00/25] Re-use nvram module

From
Finn Thain <hidden>
Date
2018-12-31 22:54:16
Also in
lkml
Reply to
Finn Thain, 2018-12-30
On Sun, 30 Dec 2018, I wrote:
The rationale for the ops struct was that it offers introspection.

[...] those platforms which need checksum validation always set 
byte-at-a-time methods to NULL.

[...] The NULL methods in the ops struct allow the nvram.c misc device 
to avoid inefficient byte-at-a-time accessors where possible, just as 
arch/powerpc/kernel/nvram_64.c presently does.
Hopefully my message makes more sense with the tangential irrelevancies 
removed. I will document these considerations in nvram.h for the next 
revision.

-- 
Thread (79 messages) 79 messages, 7 authors, last reply 2019-01-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help