* [PATCH] struct page, new bk tree
@ 2002-02-19 23:47 Rik van Riel
2002-02-19 23:57 ` Larry McVoy
0 siblings, 1 reply; 7+ messages in thread
From: Rik van Riel @ 2002-02-19 23:47 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, linux-mm, Larry McVoy
Hi Linus,
I've removed the old (broken) bitkeeper tree with the
struct page changes and have put a new one in the same
place ... with the struct page changes in one changeset
with ready checkin comment.
You can resync from bk://linuxvm.bkbits.net/linux-2.5-struct_page
and you'll see that the stupid etc/config change is no longer there.
If you want to wait a version with pulling this change because
of the pte_highmem changes by Ingo and Arjan I can understand
that and will just bug you again in a version or so ;)
kind regards,
Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document
http://www.surriel.com/ http://distro.conectiva.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] struct page, new bk tree 2002-02-19 23:47 [PATCH] struct page, new bk tree Rik van Riel @ 2002-02-19 23:57 ` Larry McVoy 2002-02-20 19:07 ` Andreas Dilger 2002-02-20 20:17 ` Ed Tomlinson 0 siblings, 2 replies; 7+ messages in thread From: Larry McVoy @ 2002-02-19 23:57 UTC (permalink / raw) To: Rik van Riel; +Cc: Linus Torvalds, linux-kernel, linux-mm, Larry McVoy On Tue, Feb 19, 2002 at 08:47:17PM -0300, Rik van Riel wrote: > I've removed the old (broken) bitkeeper tree with the > struct page changes and have put a new one in the same > place ... with the struct page changes in one changeset > with ready checkin comment. > > You can resync from bk://linuxvm.bkbits.net/linux-2.5-struct_page > and you'll see that the stupid etc/config change is no longer there. Since you two are doing the BK dance, here's a question for you: I can imagine that this sort of back and forth will happen quite a bit, someone makes a change, then Linus (or whoever) says "no way", and the developer goes back, cleans up the change, and repeats. That's fine for Linus & Rik because Linus tosses the changeset and Rik tosses it, but what about the other people who have pulled? Those changesets are now wandering around in the network, just waiting to pop back into a tree. This is at the core of my objections to the "reorder the events" theme which we had a while back. You can reorder all you want, but if there are other copies of the events floating around out there, they may come back. A long time ago, there was some discussion of a changeset blacklist. The idea being that if you want to reorder/rewrite/whatever, and your changes have been pulled/pushed/whatever, then it would be good to be able to state that in the form of some list which may be used to see if you have garbage changesets. We could have a --blacklist option to undo which says "undo these changes but remember their "names" in the BitKeeper/etc/blacklist file. The next changeset you make will check in that file. Note that each changeset has a unique name which is used internally, somewhat like a file has an inode number. So we can save those names. Then if you do a pull or someone does a push, the incoming csets can be compared with the blacklist and rejected if found. Do you think this would be useful? Would you use it if we made it? -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] struct page, new bk tree 2002-02-19 23:57 ` Larry McVoy @ 2002-02-20 19:07 ` Andreas Dilger 2002-02-20 19:27 ` Rik van Riel 2002-02-20 20:17 ` Ed Tomlinson 1 sibling, 1 reply; 7+ messages in thread From: Andreas Dilger @ 2002-02-20 19:07 UTC (permalink / raw) To: Larry McVoy, Rik van Riel, Linus Torvalds, linux-kernel, linux-mm, Larry McVoy On Feb 19, 2002 15:57 -0800, Larry McVoy wrote: > On Tue, Feb 19, 2002 at 08:47:17PM -0300, Rik van Riel wrote: > > I've removed the old (broken) bitkeeper tree with the > > struct page changes and have put a new one in the same > > place ... with the struct page changes in one changeset > > with ready checkin comment. > > > > You can resync from bk://linuxvm.bkbits.net/linux-2.5-struct_page > > and you'll see that the stupid etc/config change is no longer there. > > Since you two are doing the BK dance, here's a question for you: > I can imagine that this sort of back and forth will happen quite a bit, > someone makes a change, then Linus (or whoever) says "no way", and the > developer goes back, cleans up the change, and repeats. That's fine for > Linus & Rik because Linus tosses the changeset and Rik tosses it, but > what about the other people who have pulled? Those changesets are now > wandering around in the network, just waiting to pop back into a tree. > > This is at the core of my objections to the "reorder the events" theme > which we had a while back. You can reorder all you want, but if there > are other copies of the events floating around out there, they may come > back. > > A long time ago, there was some discussion of a changeset blacklist. > The idea being that if you want to reorder/rewrite/whatever, and your > changes have been pulled/pushed/whatever, then it would be good to be > able to state that in the form of some list which may be used to see > if you have garbage changesets. > > We could have a --blacklist option to undo which says "undo these > changes but remember their "names" in the BitKeeper/etc/blacklist file. > The next changeset you make will check in that file. Note that each > changeset has a unique name which is used internally, somewhat like a > file has an inode number. So we can save those names. Then if you do > a pull or someone does a push, the incoming csets can be compared with > the blacklist and rejected if found. So what happens to the person who pulled the (now-blacklited) CSET in the first place? If they do a pull from the repository where the original CSET lived, will the blacklisted CSET be undone and the replacement CSET be used in its place? Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] struct page, new bk tree 2002-02-20 19:07 ` Andreas Dilger @ 2002-02-20 19:27 ` Rik van Riel 0 siblings, 0 replies; 7+ messages in thread From: Rik van Riel @ 2002-02-20 19:27 UTC (permalink / raw) To: Andreas Dilger Cc: Larry McVoy, Linus Torvalds, linux-kernel, linux-mm, Larry McVoy On Wed, 20 Feb 2002, Andreas Dilger wrote: > On Feb 19, 2002 15:57 -0800, Larry McVoy wrote: > > On Tue, Feb 19, 2002 at 08:47:17PM -0300, Rik van Riel wrote: > > > I've removed the old (broken) bitkeeper tree with the > > > struct page changes and have put a new one in the same > > > place ... with the struct page changes in one changeset > > > with ready checkin comment. > > developer goes back, cleans up the change, and repeats. That's fine for > > Linus & Rik because Linus tosses the changeset and Rik tosses it, but > > what about the other people who have pulled? Those changesets are now > > wandering around in the network, just waiting to pop back into a tree. > > We could have a --blacklist option to undo which says "undo these > > changes but remember their "names" in the BitKeeper/etc/blacklist file. > So what happens to the person who pulled the (now-blacklited) CSET in > the first place? If they do a pull from the repository where the original > CSET lived, will the blacklisted CSET be undone and the replacement CSET > be used in its place? That's a good question. I hadn't answered Larry before because I just couldn't come up with what the implications of a blacklist would be or how it would ever work ... regards, Rik -- Will hack the VM for food. http://www.surriel.com/ http://distro.conectiva.com/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] struct page, new bk tree 2002-02-19 23:57 ` Larry McVoy 2002-02-20 19:07 ` Andreas Dilger @ 2002-02-20 20:17 ` Ed Tomlinson 2002-02-20 20:26 ` Jeff Garzik 2002-02-20 20:31 ` Larry McVoy 1 sibling, 2 replies; 7+ messages in thread From: Ed Tomlinson @ 2002-02-20 20:17 UTC (permalink / raw) To: Larry McVoy, Rik van Riel; +Cc: Linus Torvalds, linux-kernel, linux-mm In my opinion the idea of cset -x (while usefull) is fundamentally broken. The result of this is that ideas like blacklist need to be considered. I would propose instead an undo -x, that would generate a cset to reverse the one following the -x. This might lead to conflicts - these would be resolved the normal bk fashion. If bk handled ?bad? csets in this manner there would be no need for blacklists - it is more robust in that you can always used undo -x. Comments? Ed Tomlinson On February 19, 2002 06:57 pm, Larry McVoy wrote: > On Tue, Feb 19, 2002 at 08:47:17PM -0300, Rik van Riel wrote: > > I've removed the old (broken) bitkeeper tree with the > > struct page changes and have put a new one in the same > > place ... with the struct page changes in one changeset > > with ready checkin comment. > > > > You can resync from bk://linuxvm.bkbits.net/linux-2.5-struct_page > > and you'll see that the stupid etc/config change is no longer there. > > Since you two are doing the BK dance, here's a question for you: > I can imagine that this sort of back and forth will happen quite a bit, > someone makes a change, then Linus (or whoever) says "no way", and the > developer goes back, cleans up the change, and repeats. That's fine for > Linus & Rik because Linus tosses the changeset and Rik tosses it, but > what about the other people who have pulled? Those changesets are now > wandering around in the network, just waiting to pop back into a tree. > > This is at the core of my objections to the "reorder the events" theme > which we had a while back. You can reorder all you want, but if there > are other copies of the events floating around out there, they may come > back. > > A long time ago, there was some discussion of a changeset blacklist. > The idea being that if you want to reorder/rewrite/whatever, and your > changes have been pulled/pushed/whatever, then it would be good to be > able to state that in the form of some list which may be used to see > if you have garbage changesets. > > We could have a --blacklist option to undo which says "undo these > changes but remember their "names" in the BitKeeper/etc/blacklist file. > The next changeset you make will check in that file. Note that each > changeset has a unique name which is used internally, somewhat like a > file has an inode number. So we can save those names. Then if you do > a pull or someone does a push, the incoming csets can be compared with > the blacklist and rejected if found. > > Do you think this would be useful? Would you use it if we made it? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] struct page, new bk tree 2002-02-20 20:17 ` Ed Tomlinson @ 2002-02-20 20:26 ` Jeff Garzik 2002-02-20 20:31 ` Larry McVoy 1 sibling, 0 replies; 7+ messages in thread From: Jeff Garzik @ 2002-02-20 20:26 UTC (permalink / raw) To: Ed Tomlinson Cc: Larry McVoy, Rik van Riel, Linus Torvalds, linux-kernel, linux-mm Ed Tomlinson wrote: > > In my opinion the idea of cset -x (while usefull) is fundamentally > broken. The result of this is that ideas like blacklist need to be > considered. I would propose instead an undo -x, that would > generate a cset to reverse the one following the -x. This might > lead to conflicts - these would be resolved the normal bk fashion. > If bk handled ?bad? csets in this manner there would be no need for > blacklists - it is more robust in that you can always used undo -x. Well, if the changes are properly split up, you shouldn't need to do this... In the ideal situation it is easiest for Linus to accept or reject a "bk pull" in its entirety. Then he can just do a "bk unpull" Jeff -- Jeff Garzik | "Why is it that attractive girls like you Building 1024 | always seem to have a boyfriend?" MandrakeSoft | "Because I'm a nympho that owns a brewery?" | - BBC TV show "Coupling" -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] struct page, new bk tree 2002-02-20 20:17 ` Ed Tomlinson 2002-02-20 20:26 ` Jeff Garzik @ 2002-02-20 20:31 ` Larry McVoy 1 sibling, 0 replies; 7+ messages in thread From: Larry McVoy @ 2002-02-20 20:31 UTC (permalink / raw) To: Ed Tomlinson Cc: Larry McVoy, Rik van Riel, Linus Torvalds, linux-kernel, linux-mm On Wed, Feb 20, 2002 at 03:17:12PM -0500, Ed Tomlinson wrote: > In my opinion the idea of cset -x (while usefull) is fundamentally > broken. The result of this is that ideas like blacklist need to be > considered. I would propose instead an undo -x, that would > generate a cset to reverse the one following the -x. This might > lead to conflicts - these would be resolved the normal bk fashion. > If bk handled ?bad? csets in this manner there would be no need for > blacklists - it is more robust in that you can always used undo -x. First of all, cset -x is functionally equivalent to what you call undo -x. They do the same thing. Second of all, cset -x is _much_ better. It does the same thing without introducing any new diffs into the history. Go get a test tree, make a changeset, clone the tree, cset -x the changeset, and diff the revision history files. All you will see is something like this: ^As 00000/00000/00455 ^Ad D 1.32 02/02/20 09:50:05 lm 33 32 ^Ax 32 ^Ac Exclude ^AcC ^AcK50774 ^Ae The "^Ax 32" line says "exclude the change who's serial number is 32". No reverse diffs applied to the file. Much nicer. Merges work like this too, in reverse, it just includes the branch deltas. But all of this misses the real point - Linus, with justification, doesn't want the revision history cluttered up with Idea 1. Remove Idea 1. Idea 2. Remove Idea 2. But we need some way to let changes get into the system so others can review them, test them, merge them with their stuff and test, etc. But then when they are found to be wanting, we need a way to tell other people that those csets are verboten. I'm open to suggestions, this is a much harder problem than it appears because of the fact that the revision histories are all replicas possibly with local data. Unlike CVS, there is no one place to go to edit the RCS files and obliterate some change. -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-02-20 20:31 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-02-19 23:47 [PATCH] struct page, new bk tree Rik van Riel 2002-02-19 23:57 ` Larry McVoy 2002-02-20 19:07 ` Andreas Dilger 2002-02-20 19:27 ` Rik van Riel 2002-02-20 20:17 ` Ed Tomlinson 2002-02-20 20:26 ` Jeff Garzik 2002-02-20 20:31 ` Larry McVoy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox