> Why should arch_has_single_step be a function-like macro? I can't thingI'm not sure it's true that there is no machine where some chips support single-step and others don't, though I do think it's true that no arch code has a conditional like this now. In the case of block-step (in later patches), is is the case that a run-time check for availability of the hardware feature comes up (on some x86 configurations). So a main reason is to keep the two parallel macros with the same style and semantics. The code compiles away completely with if (0)'s. I did it this way to avoid more #ifdef's in the generic ptrace code. Previous patch reviews I've read (including ones from you) have said to use header-defined stubs in #ifdef and unconditional calls in the code. Please be explicit in proposing the specific alternatives you would prefer. The arch's are not consistent now, so I chose a new scheme to harmonize on. I think the "set_foo" names are a bit too nonspecific-sounding, especially given that we do have other things kicking around that use single-step functionality in kernel mode. Also, I plan to submit some more work harmonizing the arch-specific access to the user-mode view of machine state, and a uniform prefix for the new, reliably coherent, documented set of internal interfaces just seems like the right thing to do. (I don't really care enough to argue about the names for functions. Anyone who, for some reason I cannot fathom, cares enough to be contrary about the subject, is welcome to set the standard.) Thanks, Roland -
| Theodore Tso | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
