On Fri, 2007-03-16 at 13:38 -0700, Jeremy Fitzhardinge wrote:I wrote a whole email on ways to do this, BUT... Perhaps our patching code can already be vastly simplified to something like: #define pv_patch(call, args...) \ asm volatile("8888:"); call(args); asm volatile("8889:" [ stuff to put 8889, 8888 and call in fixup section ] The patching code doesn't even need to decode between those two: it simply looks for an indirect call insn (0xff 0xd?). If it finds more than one, it doesn't patch. If it only finds one, it patches. We'll probably hit them all just doing that. Reading Ben LaHaise's (very cool!) patch, it's not clear that using reloc postprocessing is going to be clearer than open-coding it as he has done. Rusty. -
| Stephen Rothwell | Announce: Linux-next (Or Andrew's dream :-)) |
| David Miller | [GIT]: Networking |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Johannes Schindelin | [PATCH] Add a birdview-on-the-source-code section to the user manual |
| Guilhem Bonnefille | Re: [FAQ?] Rationale for git's way to manage the index |
| Dana How | [PATCH v2] Custom compression levels for objects and packs |
| Richard Stallman | Real men don't attack straw men |
| Dmitrij Czarkoff | malformatted MMC card fails to mount |
| Jan Stary | 4.1 on ALIX.1C - recommendations? |
| Cinder Cycling Shop | Re: Mountain and Road Bikes Liquidation Sale on 2007 models |
| Леонид Юрьев | [r8169] patch for RTL8102 (5 new MAC/PHY) |
| jamal | Re: [RFC][PATCH] Fixing SA/SP dumps on netlink/af_key |
| Timur Tabi | [PATCH 0/2] QE clock source improvements |
| Herbert Valerio Riedel | [PATCH,RFC] ep93xx_eth: conversion to phylib framework |
