surendra nath
surendra nath

Reputation: 339

What is Unique Identification (UID) number of a pointer?

In the book Linux Kernel Development by Robert Love, I found the following lines (Pg: 100 - 101).

The Linux kernel provides a simple and efficient map data structure, but it is not a general-purpose map. Instead, it is designed for one specific use case: mapping a unique identification number (UID) to a pointer.

What does "Unique identification number (UID) to a pointer" mean in this context?

Upvotes: 0

Views: 130

Answers (1)

user149341
user149341

Reputation:

What does "Unique identification number (UID) to a pointer" mean in this context?

Nothing. You're parsing the sentence incorrectly.

The map data structure maps $X to $Y.

$X is "a unique identification number (UID)".

$Y is "a pointer".

In other words, the "map data structure" is a dictionary where the keys are UIDs and the values are pointers.

Upvotes: 1

Related Questions