Paolo Bonzini wrote:Possibly, yes. But we'd have to be careful not to incur too much overhead because every indirection will cost, especially since the origin link sometimes is checked for on every commit during a treewalk. The fact that it rarely exists means that it should be fast to find out that there are no origin links (which obviously is the common case). This won't work for the original notes concept, because it makes the notes immutable after commit. For the origin links this would be fine, since they don't change once committed. The problem with fitting the origin links in the notes is twofold: - They become mutable, which is undesirable, I'd like to preserve history as is (just like parent links). - There is a performance hit, since origin links need to be found not to exist on every commit (sometimes, depending on the operation of course). Yes, that was already in the latest proposal for notes, I believe. It would fit with a non-mutable version of the notes. Then again, we already *have* the non-mutable version of the notes, it's called the header of the commit message. They both belong in the non-mutable notes, and those happen to live in the header of the commit (which *is* the most efficient spot, of course). -- Sincerely, Stephen R. van den Berg. "There are three types of people in the world; those who can count, and those who can't." -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Jeff Chua | 2.6.27rc1 cannot boot more than 8CPUs |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Andrew Dickinson | tx queue hashing hot-spots and poor performance (multiq, ixgbe) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
