Timeline
Timeline
2026-05-21
init
This article introduces a method for querying the earliest version in which a kernel API was introduced, and illustrates it with a specific API as an example.
How can you check which version a kernel API was introduced in? Takearray_index_nospecas an example,
12345678910 | git clone https://github.com/torvalds/linux.git# find the header file where its definition resides: include/linux/nospec.hgit blame include/linux/nospec.h# find the commit IDgit show f3804203306e0# view all tags that contain this commit IDgit tag --contains f3804203306e0 |
