Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759238AbZCTSUg (ORCPT ); Fri, 20 Mar 2009 14:20:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754764AbZCTSU1 (ORCPT ); Fri, 20 Mar 2009 14:20:27 -0400 Received: from rv-out-0506.google.com ([209.85.198.231]:40624 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbZCTSU0 (ORCPT ); Fri, 20 Mar 2009 14:20:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=ay6GY1UwFHZTtQZXutND0rkUtCP3CBWdr4pgPf67uUoHAtgwRxStNqNQD+LESL2UnE gzh1MzO1RI5IGLw0FbPaK7vvB0dkQbQJ+5GmCZaA5prsRm7B8EceVGO56CKkco7yG3cA 33l6n2XHE1p6WywrGR5pzS2v3TlRuWIXFKzhQ= MIME-Version: 1.0 Date: Sat, 21 Mar 2009 02:20:23 +0800 Message-ID: <804dabb00903201120k61b2dbc2gaa2a1ce09501be41@mail.gmail.com> Subject: [PATCH] Removal of kernel_thread() API in RT2870 From: Peter Teoh To: LKML Cc: Greg KH Content-Type: multipart/mixed; boundary=000e0cd2bd0066287d046590f80d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 15113 Lines: 213 --000e0cd2bd0066287d046590f80d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Replacing the use of kernel_thread() with kthread_run(). But as kthread_run() returned a task structure, as compared with kernel_thread() returning a PID, it was found to be more efficient to store the task structure pointer as a field data instead of PID pointer. On top of modifying the field to store task structure pointer, the initialization of the field (assigned to THREAD_PID_INIT_VALUE) was also found unnecessary - as no where it is found to be used. The patch (to be applied against linus git tree v2.6.29-rc8-241-g65c2449) attached compiled and loaded successfully - but not with the hardware, as I don't have it. Thanks. PS: attached passed checkpatch.pl. Thanks. --000e0cd2bd0066287d046590f80d Content-Type: text/x-diff; charset=US-ASCII; name="rt2870_20march2009-3.patch" Content-Disposition: attachment; filename="rt2870_20march2009-3.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fsj77kr51 U2lnbmVkLW9mZi1ieTogUGV0ZXIgVGVvaCA8aHRtbGRldmVsb3BlckBnbWFpbC5jb20+CgpkaWZm IC0tZ2l0IGEvZHJpdmVycy9zdGFnaW5nL3J0Mjg3MC8yODcwX21haW5fZGV2LmMgYi9kcml2ZXJz L3N0YWdpbmcvcnQyODcwLzI4NzBfbWFpbl9kZXYuYwppbmRleCAwNGM3NjRkLi45ZDU5ZTMxIDEw MDY0NAotLS0gYS9kcml2ZXJzL3N0YWdpbmcvcnQyODcwLzI4NzBfbWFpbl9kZXYuYworKysgYi9k cml2ZXJzL3N0YWdpbmcvcnQyODcwLzI4NzBfbWFpbl9kZXYuYwpAQCAtMjY1LDcgKzI2NSw3IEBA IElOVCBNbG1lVGhyZWFkKAogCSAqLwogCURCR1BSSU5UKFJUX0RFQlVHX1RSQUNFLCggIjwtLS0l c1xuIixfX2Z1bmNfXykpOwogCi0JcE9iai0+TUxNRVRocl9waWQgPSBUSFJFQURfUElEX0lOSVRf VkFMVUU7CisJcE9iai0+TUxNRVRocl90YXNrID0gTlVMTDsKIAogCWNvbXBsZXRlX2FuZF9leGl0 ICgmcEFkLT5tbG1lQ29tcGxldGUsIDApOwogCXJldHVybiAwOwpAQCAtMzczLDcgKzM3Myw3IEBA IElOVCBSVFVTQkNtZFRocmVhZCgKIAkgKi8KIAlEQkdQUklOVChSVF9ERUJVR19UUkFDRSwoICI8 LS0tUlRVU0JDbWRUaHJlYWRcbiIpKTsKIAotCXBPYmotPlJUVVNCQ21kVGhyX3BpZCA9IFRIUkVB RF9QSURfSU5JVF9WQUxVRTsKKwlwT2JqLT5SVFVTQkNtZFRocl90YXNrID0gTlVMTDsKIAogCWNv bXBsZXRlX2FuZ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FkoX3BpZCkJaWYgKHBpZF9ucihfcGlkKSA+PSAwKQogI2RlZmluZSBL SUxMX1RIUkVBRF9QSUQoX0EsIF9CLCBfQykJa2lsbF9waWQoX0EsIF9CLCBfQykKICNlbHNlCiB0 eXBlZGVmCXBpZF90CVRIUkVBRF9QSUQ7Ci0jZGVmaW5lCVRIUkVBRF9QSURfSU5JVF9WQUxVRQkt MQogI2RlZmluZQlHRVRfUElEKF92KQlfdgogI2RlZmluZQlHRVRfUElEX05VTUJFUihfdikJX3YK ICNkZWZpbmUgQ0hFQ0tfUElEX0xFR0FMSVRZKF9waWQpCWlmIChfcGlkID49IDApCkBAIC0xODks MTEgKzE4OCwxMSBAQCBzdHJ1Y3Qgb3NfbG9jayAgewogc3RydWN0IG9zX2Nvb2tpZSB7CiAKICNp ZmRlZiBSVDI4NzAKLQlzdHJ1Y3QgdXNiX2RldmljZQkJKnBVc2JfRGV2OworCXN0cnVjdCB1c2Jf ZGV2aWNlCSpwVXNiX0RldjsKIAotCVRIUkVBRF9QSUQJCQkJTUxNRVRocl9waWQ7Ci0JVEhSRUFE X1BJRAkJCQlSVFVTQkNtZFRocl9waWQ7Ci0JVEhSRUFEX1BJRAkJCQlUaW1lclFUaHJfcGlkOwor CXN0cnVjdCB0YXNrX3N0cnVjdAkqTUxNRVRocl90YXNrOworCXN0cnVjdCB0YXNrX3N0cnVjdAkq UlRVU0JDbWRUaHJfdGFzazsKKwlzdHJ1Y3QgdGFza19zdHJ1Y3QJKlRpbWVyUVRocl90YXNrOwog I2VuZGlmIC8vIFJUMjg3MCAvLwogCiAJc3RydWN0IHRhc2tsZXRfc3RydWN0IAlyeF9kb25lX3Rh c2s7Cg== --000e0cd2bd0066287d046590f80d-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/