Skip to contentSkip to conversation

De-couple sysfs memory directories from memory sections

PATCH Bodo Eggert 2 participants 2 messages Jul 12, 2010 – Jul 13, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Nathan Fontenot

The file 'split' allows for splitting the
directory in two, with each new directory covering half as many memory sections as the previous directory.

Just some random thoughts:

1) Why is it needed/helpful?
2) If it is needed, why not take an int to split after n entries?

#2 lore raw
Quoted 8 lines · Bodo Eggert
Quoted 3 lines · Nathan Fontenot

The file 'split' allows for splitting the
directory in two, with each new directory covering half as many memory sections as the previous directory.

Just some random thoughts:
1) Why is it needed/helpful?

This is needed if someone needed to perform an action (add/remove) a single memory section. The 'split' option allows users to isolate a memory section so these operations could be performed.

Quoted 1 line

2) If it is needed, why not take an int to split after n entries?

The idea of being able to split a directory came out of a previous discussion on how to resolve the issue this patch set is trying to solve. I included the split functionality in this patch set since it was suggested. I will leave the decision of whether or not this functionality is needed up to the community.

-Nathan