> Hmm.. I see the whole series, and I see this patch, but I think it addsThe motivation is to get the arch function out of the code path for the machine-independent request handling. I want to be able to change the implementation later without touching the arch code again. The arguments passed down to arch_ptrace are sufficient for what the arch code itself needs and for the current implementation in ptrace_request. In future, I'd like the option of changing the code for the standard requests to use a local data structure set up at the start of ptrace, and such like (so more pointers and the like would need to be passed down to ptrace_request). These patches let me remove ptrace_request or change its calling convention without touching the arch code again. It would certainly be nicer. I would prefer: extern int arch_ptrace(struct task_struct *child, long request, long addr, long data, long *retval); where it returns an error code or it returns 0 and *retval is the value or it returns 1 and it didn't do anything. The reason I took the approach I did instead is incrementalism. I can't change that signature without breaking about 22 arch builds. I'm only really prepared to thoroughly verify a change on 2 of those myself. It should be a simple enough change to make blind and get right. But I've gotten a lot of things wrong before. On principle, I wouldn't really expect anyone to sign off on stuff I won't even claim to have tried. I did the forced_successful_syscall_return() macro for arch's I don't try to build, and was just awful sure golly that I hadn't got them wrong, because the generic change would break those few arch's (not 20) without it. So this ugliness seemed like a better bet than waiting for 20 more arch sign-offs before any of it could go in. You are certainly in a position to just change the generic signature and make every arch do the update (or fix your typos if you just tweak them all blind), and let them grumble. I did not presume to do so. If you'd like a patch that changes this signature, updates all arch implementations, and is actually verified to compile and work only on x86 and powerpc, I'll be happy to provide that. Thanks, Roland --
| Linus Torvalds | Linux 2.6.27 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Alan Cox | [PATCH 00/80] TTY updates for 2.6.28 |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Linus Torvalds | [PATCH 1/6] diff-lib: use ce_mode_from_stat() rather than messing with modes manua... |
| Joakim Tjernlund | git-svn set-tree bug |
| Robert Collins | Re: VCS comparison table |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Samuel Moñux | Cyrus IMAP performance problems [Long] |
| Pekka Enberg | Re: [rfc][patch 3/3] use SLAB_ALIGN_SMP |
| Frithjof Hammer | Re: [LARTC] ifb and ppp |
| Evgeniy Polyakov | [2/3] POHMELFS: Documentation. |
| Maxim Levitsky | How I can reset TCP sockets after long suspend/resume cyscle |
| How to make my PCIE ATA storage device running in Linux | 5 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 9 hours ago | Linux kernel |
| Shared swap partition | 9 hours ago | Linux general |
| usb mic not detected | 14 hours ago | Applications and Utilities |
| Problem in Inserting a module | 14 hours ago | Linux kernel |
| Treason Uncloaked | 20 hours ago | Linux kernel |
| high memory | 3 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
